Directory

grain-read-more - Vaadin Add-on Directory

(no summary available) grain-read-more - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/daKmoR/grain-read-more](https://github.com//daKmoR/grain-read-more/blob/v0.8.1/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/daKmoR/grain-read-more) [![Polymer Version](https://img.shields.io/badge/polymer-v2-blue.svg)](https://www.polymer-project.org) # \ Opens more content on click. ## Demo ```html

Read More

The Content is only visible if grain-read-more is opened
``` ## Installation ```sh $ bower install --save daKmoR/grain-read-more ``` ## Getting Started Import the package. ```html ``` Create the element providing a more slot. ```html

Read More

The Content is only visible if grain-read-more is opened
``` * Elements tagged with `slot="more"` will only become visible if grain-read-more is opened. * Elements tagged with `slot="intro"` will always be visible. * Elements with no slot attributed will trigger opened to be "true"/"false" ```html

Read More - opened by default

The Content is only visible if grain-read-more is opened
``` *For more information, see the API documentation.* ## Working on the Element First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. * View the Element via `polymer serve` * Run tests via `polymer test`