Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apiko-dev/dragable-window
Smart package for Bootstrap's modal window
https://github.com/apiko-dev/dragable-window
Last synced: about 2 months ago
JSON representation
Smart package for Bootstrap's modal window
- Host: GitHub
- URL: https://github.com/apiko-dev/dragable-window
- Owner: apiko-dev
- Created: 2015-07-31T11:33:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-02T08:10:17.000Z (about 9 years ago)
- Last Synced: 2023-02-27T07:07:47.212Z (almost 2 years ago)
- Language: CoffeeScript
- Size: 136 KB
- Stars: 0
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## dragable-window
Fully customizable draggable window
-----------------------------------
## Markup
```
Home page here
show/hide
{{#DragableWindow dragableConfig}}
{{> ModalDemoTemplate}}
{{/DragableWindow}}
Example of window {{> DragableWindowCloseButton}}
{{#with context}}
Email address
{{/with}}
```
## Coffee
```
Template.Home.helpers
dragableConfig: ->
template = Template.instance()
context: {}
windowClass: 'dragable-medium'
onInitialize: (modalInstance) ->
template.modal = modalInstanceTemplate.ModalDemoTemplate.events
'dragable.window.hide .dragable-window-body': (e, tmpl) ->
console.log 'modal window show event'
```Made by [![Professional Meteor Development Studio](http://s30.postimg.org/jfno1g71p/jss_xs.png)](http://jssolutionsdev.com?utm_campaign=Package_Development&utm_medium=github.com&utm_source=Dragable-window) - [Professional Meteor Development Company](http://jssolutionsdev.com?utm_campaign=Package_Development&utm_medium=github.com&utm_source=Dragable-window)