1.12.5 • Published 5 years ago

sling-web-component-snackbar v1.12.5

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

sling-web-component-snackbar

Install

npm install sling-web-component-snackbar

Tag

  <sling-snackbar></sling-snackbar>

Dependencies

  • sling-framework
  • sling-helpers

Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
layoutString:heavy_check_mark:
aimString:heavy_check_mark:
sizeString:heavy_check_mark:
closeableBoolean:heavy_check_mark:

Description

NameDescription
layoutSets the layout type of snackbar, currently only outline..
aimDefines the snackbar objective, can be danger, success or warning.
sizeValue that defines the size.
closeableDefines whether or not snackbar has the close icon.

Events

This component does not emit events.

Examples

All component examples can be emulated using the npm start sling-web-component-snackbar command.

Usage

<sling-snackbar closeable size="small">
  Here is a message for you.
  <sling-button slim color="light" layout="outline" size="small">Action</sling-button>
</sling-snackbar>

image

<sling-snackbar closeable size="small" aim="danger">
  Here is a message for you.
  <sling-button slim color="light" layout="outline" size="small">Action</sling-button>
</sling-snackbar>

image

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.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

0.17.0

6 years ago

0.16.0

6 years ago

0.15.1

6 years ago

0.15.0

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.0

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago