Skip to content

SiListWidgetItemComponent documentation

selector
si-list-widget-item

The <​si-link-widget​> supports an easy composition of links and actions with support for skeleton loading indicator.

Input Properties

Name Type Default Description
disableAutoLoadingIndicator
boolean false Option to disable automatic start of skeleton loading indication.
initialLoadingIndicatorDebounceTime
number 300 Initial delay time in milliseconds before enabling loading indicator. Only used once initially during construction.
showLoadingIndicator
boolean false Input to start and stop the skeleton loading indication.
value
Required
(SiListWidgetItem | undefined) The main value to be displayed. If no value is set, the skeleton indicates the loading of the value. Disable the automatic loading mechanism by setting SiWidgetBodyBaseComponent.disableAutoLoadingIndicator .

Attributes and Methods

Name Type Default Description
ngOnChanges()
() => void A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
ngOnInit()
() => void A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
(readonly) showLoadingIndicator
Signal<boolean> ...

Types Documentation

Interface for objects to configure the the list widget.
Properties
Optional right aligned action.
action?: Link
The action icon.
actionIcon?: string
Optional translatable string to be displayed in a badge.
badge?: TranslatableString
Defines the badge color. Must be one of the element bg-<​color​> CSS classes, like bg-primary , bg-secondary , 'bg-caution'. Use only the name without bg .
badgeColor?: string
Optional translatable description.
description?: TranslatableString
Label is either a translatable string or a link.
label: (TranslatableString | Link)
Optional translatable text that is display to the right.
text?: TranslatableString
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.

Except where otherwise noted, content on this site is licensed under MIT License.