LmnListComponent
No documentation has been provided.
Properties
Name | Type | Description |
---|---|---|
activeItem r |
| The value of the active List Item. It is only applied to TABLIST and NAVIGATION Lists, and only if they are root Lists. |
allowReordering r |
| Whether to allow reordering (drag & drop) of the List Items. |
changeActiveItem r |
| Emitted when the user attempts to change the active List Item. If a listener is attached to this Output, then it is necessary to send back a confirmation in the canActivate subject in order to let the List component know the change is allowed. |
id r |
| The id of the List. If not passed, a serial unique id is generated and applied to the host. |
nativeElement r | HTMLElement | |
negative r |
| Whether the List should be rendered with negative colors or not. |
role r |
| Custom role. It is only applied when using the |
root r |
| If set to true, the List is treated as a Root List, and not as a sub-list of any parent Lists. For example, when we display a List containing a set of Items, each of which has some contextual actions revealed in a Popover, we want that List of actions to be unrelated from the parent List, both semantically and stylistically (i.e. indentation). By setting root=true on the Actions List, we start a new "stack" of Lists. If no parent Lists are found in the DOM, then this Input is ignored. |
selectionControlsPosition r |
| Whether to show the selection controls on the start or end edge of the List Items. |
selectionMode r |
| The selection mode (none, radio, checkbox, toggle) for all the List Items included in the List. If the passed selection mode is not supported for the current type of List, it is coerced to "none". Supported selection modes:
|
showDividers r |
| Whether to show the dividers between List Items. |
Methods
requestToActivateItem() | ||||||
---|---|---|---|---|---|---|
Requests the activation of a List Item. NotesThis method creates a Subject to check if activation can proceed and emits an event to activate the item. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
setFocusableItem() | |||||||||
---|---|---|---|---|---|---|---|---|---|
Set one of the item as the focusable one, and optionally focus it. It's necessary only on list:
On the following list the items are already always focusable:
On the following list, the focus is not managed by the list itself but on the list item title
| |||||||||
Presentation
| |||||||||
Parameters
Returnsvoid |