1.12.5 • Published 5 years ago

sling-web-component-label v1.12.5

Weekly downloads
70
License
-
Repository
-
Last release
5 years ago

sling-web-component-label

Install

npm install sling-web-component-label

Tag

  <sling-label></sling-label>

Dependencies

  • sling-framework
  • sling-helpers

Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
typeStringfill:heavy_check_mark:
colorStringgreen:heavy_check_mark:
sizeStringsmall:heavy_check_mark:
imageNameString:heavy_check_mark:
showBulletBooleanfalse:heavy_check_mark:

Description

NameDescription
typeSets the layout type of label, can be fill, outline and text.
colorSets the color's label, can be red, yellow, gray, green and purple.
sizeSets the the size's label, can be small, medium and big.
imageNameSets an image left of the text, can be any sling-web-component-icon name.
showBulletSets a bullet before of the text, setted false by default.

Events

This component have no events.

Usage

All content that is used inside the tag automatically goes to the body of the label.

<sling-label size="small" color="red" type="text" imageName="success">LABEL</sling-label>
1.12.5

5 years ago

1.12.4

5 years ago

1.12.3

5 years ago

1.12.2

5 years ago

1.12.0

5 years ago

1.11.7

5 years ago

1.11.6

5 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.0.0

6 years ago