global-var
Light-weight element to expose global variables to Polymer data binding.
[ This description is mirrored from README.md at github.com/jifalops/global-var on 2019-05-10 ]
global-var
Light-weight element to expose global variables to Polymer data binding.
Installation
bower install --save global-var
Usage
- Consider not using global variables.
- Decide to use global variables.
- Add
global-var
anywhere in your app to allow dynamic binding to them.
Demo
<global-var name="var1" value="{{var1}}"></global-var>
Full demo: webcomponents.org | github.
API: webcomponents.org | github.
Contributing
- Fork it on Github.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
Polymer/polymer#^1.4.0
- Released
- 2017-04-26
- Maturity
- IMPORTED
- License
- Other
Compatibility
- Framework
- Polymer 1.0+
- Browser
- Browser Independent
global-var - Vaadin Add-on Directory
Light-weight element to expose global variables to Polymer data binding.
**[ This description is mirrored from README.md at [github.com/jifalops/global-var](https://github.com//jifalops/global-var/blob/0.1.0/README.md) on 2019-05-10 ]**
[![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)
View on GitHubIssue tracker
GitHub Homepage
License
global-var version 0.1.0
### Dependencies
Polymer/polymer#^1.4.0