Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 = modalInstance

Template.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)