Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/global-var
Light-weight element to expose global variables to Polymer data binding.
https://github.com/jifalops/global-var
Last synced: 5 days ago
JSON representation
Light-weight element to expose global variables to Polymer data binding.
- Host: GitHub
- URL: https://github.com/jifalops/global-var
- Owner: jifalops
- License: mit
- Created: 2017-04-26T06:42:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T03:39:19.000Z (over 6 years ago)
- Last Synced: 2025-01-18T09:53:23.252Z (6 days ago)
- Language: HTML
- Size: 2.52 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jifalopsglobal-var)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsglobal-var.svg)](https://vaadin.com/directory/component/jifalopsglobal-var)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/global-var)# global-var
Light-weight element to expose global variables to Polymer data binding.## Installation
```
bower install --save global-var
```## Usage
1. Consider not using global variables.
2. Decide to use global variables.
3. Add `global-var` anywhere in your app to allow dynamic binding to them.## Demo
```html
```Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/global-var/demo/demo/index.html)
| [github](https://jifalops.github.io/global-var/components/global-var/demo/).API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/global-var/global-var)
| [github](https://jifalops.github.io/global-var).## Contributing
1. Fork it on Github.
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request## License
[MIT](https://opensource.org/licenses/MIT)