Skip to content

Instantly share code, notes, and snippets.

@jelhan
Created June 21, 2019 19:03
Show Gist options
  • Save jelhan/6f545b142fa78f23c9b9e3cdd419f18a to your computer and use it in GitHub Desktop.
Save jelhan/6f545b142fa78f23c9b9e3cdd419f18a to your computer and use it in GitHub Desktop.
ember-bootstrap-issue-830
import Ember from 'ember';
export default Ember.Controller.extend({
showModal: false,
});
<button onclick={{action (mut showModal) true}}>set <i>showModal</i> to <i>true</i></button><br>
<BsModal @open={{showModal}}>...</BsModal>
{
"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": "3.4.3",
"ember-template-compiler": "3.4.3",
"ember-testing": "3.4.3"
},
"addons": {
"ember-bootstrap": "2.8.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment