Directory

← Back

list-item

ES6 Polymer 2 list item with a skeleton loader

Author

Contributors

Rating

[ This description is mirrored from README.md at github.com/ryanburns23/list-item on 2019-05-10 ]

<list-item>

ES6 Polymer 2 list item with a skeleton loader

  • See the API docs for styling

Usage

<list-item
  headline="<list-item>"
  text="ES6 Polymer 2 list item with a skeleton loader">
</list-item>

<style>
  list-item.dark{
    background: #303030;
    --text-color: #ffffff;
    --secondary-text-color: #bcbcbc;
    --loader-background: #111;
    --loader-color: #7CB342;
    color: var(--text-color);
  }
</style>

<list-item class="dark" loading>
  Slotted Content also works...
  Remove the loading attribute to reveal this text
</list-item>

Install

bower i ryanburns23/list-item --S

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/polymer#^2.0.0

Released
2017-07-10
Maturity
IMPORTED
License
Other

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent
Online