A popup component based on web component v1 standards

[ This description is mirrored from README.md at github.com/rohithsathya/rsat-popup on 2019-05-10 ]

Published on webcomponents.org


<rsat-popup> Is a popup/modal dialog component based on web component v1 standards.




Install the component using Bower:

$ bower install rsat-popup --save

Or download as ZIP


  1. Import Web Components' polyfill (if needed, for older browsers):

    <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
  2. Import Custom Element:

    <link rel="import" href="bower_components/rsat-popup/rsat-popup.html" />
  3. Start using it!

    	 <rsat-popup pos="center" backdrop="true" show="false">
        <h3>your content goes here</h3>


Options   Explanation Allowed Values
pos defines where to display the popup w.r.t window center, top-left, top-right, bottom-left, bottom-right
show   defines if the popup is shown or not, set to true to display popup true or false
backdrop this flag when set to true will draw a backdrop underneath popup true or false


  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request


The MIT License (MIT)

Copyright (c) 2017 RSAT


Link to this version
ImportedReleased 16 July 2017MIT License
Framework Support
Polymer 1.0+
Browser Compatibility
Install with
bower install --save rohithsathya/rsat-popup"#0.0.2"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.0.2


  • webcomponentsjs#^1.0.2