Directory

← Back

confirm-dialog

A simple paper-dialog wrapper.

Author

Contributors

Rating

[ This description is mirrored from README.md at github.com/jifalops/confirm-dialog on 2019-05-22 ]

Published on webcomponents.org

confirm-dialog

A simple paper-dialog wrapper.

Installation

bower i -S confirm-dialog      # Polymer 2.0 hybrid (1.x compatible)
bower i -S confirm-dialog#^0.1 # Polymer 1.x based

Demo

<confirm-dialog id="dialog"></confirm-dialog>
<input id="heading" placeholder="heading" value="Heading"/><br/>
<input id="body" placeholder="body" value="Are you sure?"/><br/>
<input id="htmlContent" placeholder="html content" value="<i>Content Slot</i>"/><br/>
<input id="confirm" placeholder="confirm button" value="Confirm"/><br/>
<input id="cancel" placeholder="cancel button" value="Cancel"/><br/>
<input id="delay" placeholder="delay (ms)" value="1000"/><br/>
<label><input id="modal" type="checkbox"/>Modal</label><br/>
<label><input id="withBackdrop" type="checkbox" checked/>With backdrop</label><br/>
<button onclick="show()">Show</button>&nbsp;
<button onclick="showWithProperties()">Show with properties</button><br/>
Last Event: <span id="feedback"></span>

Full demo: webcomponents.org | github.

API: webcomponents.org

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

Compatibility

(Loading compatibility data...)

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#^2.0.0
  • paper-dialog#^2.0.0
  • paper-button#^2.0.0
  • paper-styles#^2.0.0
Released
2017-08-23
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 2.0+
Polymer 1.0+ in 0.1.1
Browser
Browser Independent

confirm-dialog - Vaadin Add-on Directory

A simple paper-dialog wrapper. confirm-dialog - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/jifalops/confirm-dialog](https://github.com//jifalops/confirm-dialog/blob/0.2.0/README.md) on 2019-05-22 ]** [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/confirm-dialog) # confirm-dialog A simple paper-dialog wrapper. ## Installation ``` bower i -S confirm-dialog # Polymer 2.0 hybrid (1.x compatible) bower i -S confirm-dialog#^0.1 # Polymer 1.x based ``` ## Demo ```html







 
Last Event: ``` Full demo: [webcomponents.org](https://www.webcomponents.org/element/jifalops/confirm-dialog/demo/demo/index.html) | [github](https://jifalops.github.io/confirm-dialog/components/confirm-dialog/demo/). API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/confirm-dialog/confirm-dialog) ## 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)
Online