-
Notifications
You must be signed in to change notification settings - Fork 187
Closed
Description
The example of using this component provided in the readme does not work.
(I'm happy to help either address this in docs or troubleshoot why it's not working.)
Example from the readme that doesn't work:
<h1>Angle Bracket:</h1>
<BasicDropdown as |dd|>
<dd.Trigger>Click me</dd.Trigger>
<dd.Content>Content of the trigger</dd.Content>
</BasicDropdown>Here is an example that works with moustache hashtag components (not sure what the proper name for these is):
<h1>Moustache Hashtag:</h1>
{{#basic-dropdown as |dd|}}
{{#dd.trigger}}Click me{{/dd.trigger}}
{{#dd.content}}Content of the trigger{{/dd.content}}
{{/basic-dropdown}}Here's a screenshot where you can see the Angle Bracket invocation is not working and the Moustache Hashtag is:
I tried to reproduce this in a twiddle, but the site had some issues loading with relevant versions of ember-source and ember-basic-dropdown. Here's a repo I made though: ryanlabouve/basic-dropdown-angle-bracket-demo@809e62c
DEBUG: ------------------------------- index.js:185
DEBUG: Ember : 3.8.0 index.js:185
DEBUG: Ember Data : 3.7.0 index.js:185
DEBUG: jQuery : 3.3.1 index.js:185
DEBUG: -------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
