3.0.2 • Published 4 years ago

@uxland/uxl-ui-skeleton v3.0.2

Weekly downloads
15
License
Apache-2.0
Repository
github
Last release
4 years ago

\<uxl-ui-skeleton>

An ui skeleton component

Build Status npm version

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 serve to serve your element locally.

Viewing Your Element

$ npm run serve

Description

<uxl-ui-skeleton> is a component that provides different types of ui skeletons to display when a petitions is fetching, for example:

Properties

PropertyAttributeTypeDefault
animationanimationskeletonAnimation"intermitent"
classifierclassifierstringrequired
numbernumberstringrequired
typetypeskeletonTyperequired

number: the number of elements that will display the skeleton

animation: the animation type, available: intermitent | disabled

type: choose between different skeleton types, available: list | single

classifier: provide a classifier to display different layouts, for example: vertical | horizontal

CSS Shadow Parts

PartDescription
itemitem container
item__bodyitem body
item__headeritem header
wrapperList wrapper

CSS Custom properties

The following custom properties and mixins are available for styling:

Custom propertyDescriptionDefault
--uxl-ui-skeleton-primary-colorThe background color of the items header#e4e3e3
--uxl-ui-skeleton-secondary-colorThe background color of the items body#f1f1f1
--uxl-ui-skeleton-opacityThe opacity of skeleton items1
3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

5 years ago

3.0.0-beta.2

5 years ago

3.0.0-beta.1

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.5

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago