sling-web-component-brand-icon
Install
npm install sling-web-component-brand-icon
Tag
<sling-brand-icon></sling-brand-icon>
Dependencies
- sling-framework
- sling-helpers
Attributes and properties
Name | Type | Default Values | ReflectToAttribute | Observer | callSdk |
---|---|---|---|---|---|
brandid | Number | ✔️ | |||
width | Number | ✔️ | |||
height | Number | ✔️ |
Description
Name | Description |
---|---|
brandid | Id that identifies the flag that will be displayed. |
width | Value that defines the width. |
height | Value that defines the heigth. |
Events
This component does not emit events.
Examples
All component examples can be emulated using the npm start sling-web-component-brand-icon
command.
Usage
<sling-brand-icon brandid="2" width="50" height="50"></sling-brand-icon>
<sling-brand-icon brandid="5" width="50" height="50"></sling-brand-icon>