ember-cli-foundation-modal
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "ember-cli-foundation-modal", | ||
"version": "0.1.0", | ||
"description": "A modal mixin for zerb foundation and ember.js", | ||
"version": "0.1.1", | ||
"description": "A modal mixin for zurb foundation 5.5", | ||
"directories": { | ||
@@ -6,0 +6,0 @@ "doc": "doc", |
@@ -17,2 +17,14 @@ # ember-cli-foundation-modal | ||
bower install zurb foundation 5.5 | ||
```js | ||
bower install foundation --save | ||
``` | ||
add the css file to your Brocfile | ||
```js | ||
app.import('bower_components/foundation/css/foundation.css'); | ||
``` | ||
add the modal bg div to your application.hbs | ||
@@ -34,4 +46,6 @@ | ||
```js | ||
<div {{bind-attr style=modalStyle}} id="resolveModal" class="modal reveal-modal medium" data-reveal></div> | ||
<button id="toggle-btn" {{action "toggleModal"}}>Open And Close</button> | ||
<div {{bind-attr style=modalStyle}} id="resolveModal" class="modal reveal-modal medium" data-reveal> | ||
<button id="close-btn" {{action "toggleModal"}}>Close</button> | ||
</div> | ||
<button id="open-btn" {{action "toggleModal"}}>Open</button> | ||
``` | ||
@@ -38,0 +52,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5413
74
0