sling-web-component-brand-icon

Sling Brand Icon

Usage no npm install needed!

<script type="module">
  import slingWebComponentBrandIcon from 'https://cdn.skypack.dev/sling-web-component-brand-icon';
</script>

README

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 :heavy_check_mark:
width Number :heavy_check_mark:
height Number :heavy_check_mark:

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>

image

 <sling-brand-icon brandid="5" width="50" height="50"></sling-brand-icon>

image