@uxland/uxl-content-switcher
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

<uxl-content-switcher>

A switcher content with animations

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Properties

attrForSelected : the attribute that will check to select desired child

selected : the value that will select desired child. It can be a number (will select the index), or can be the value of "attrForSelected" property

animation: the animation type. You can choose under "slideDown", "slideLeft", "slideRight" or "fade";

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Generate test reports

npx allure generate
npx allure open

Readme

Keywords

Package Sidebar

Install

npm i @uxland/uxl-content-switcher

Weekly Downloads

5

Version

3.0.4

License

Apache-2.0

Unpacked Size

28.3 kB

Total Files

20

Last publish

Collaborators

  • danielcabiscol
  • uxland-admin