toggle-viewport | Vaadin

Component for preview a site with different viewport

[ This description is mirrored from README.md at github.com/goiblas/toggle-viewport on 2019-05-10 ]

Published on webcomponents.org

<toggle-viewport>

Component for preview a site with different viewport

To Use

Import the component

<link rel="import" href="toggle-viewport.html">

Use the tag with attribute url that you prefer, for example:

<toggle-viewport url="https://www.polymer-project.org/"></toggle-viewport>

Styling

The following custom properties are available for styling:

Custom property Default
--header-color #202020
--body-color #262626
--active-color #1a88ef

Install

Link to this version
ImportedReleased 11 June 2017MIT License
Framework Support
Polymer 2.0+
Browser Compatibility
Install with
bower install --save goiblas/toggle-viewport"#0.1.1"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.1.1

Dependencies

  • polymer#Polymer/polymer#^2.0.0