Skip to content

Instantly share code, notes, and snippets.

@mayatron
Created February 21, 2020 22:02
Show Gist options
  • Save mayatron/aaa813d56b14026e7f0dc5a8cf6330d2 to your computer and use it in GitHub Desktop.
Save mayatron/aaa813d56b14026e7f0dc5a8cf6330d2 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
<h1>Welcome to {{appName}}</h1>
<BasicDropdown as |dd|>
<dd.Trigger>Click me</dd.Trigger>
<dd.Content>Content of the trigger</dd.Content>
</BasicDropdown>
{
"version": "0.15.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js",
"ember-cli": "~3.16.0",
"ember-basic-dropdown": "^3.0.0-beta.9",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment