Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListBase

List base

Hierarchy

Index

Constructors

constructor

Properties

actionTemplate

actionTemplate: TemplateRef<any>

The name of the template containing actions for each item

itemTemplate

itemTemplate: TemplateRef<any>

The name of the template containing item layout

items

items: any[]

An array of items to display in the list

onActionSelect

onActionSelect: EventEmitter<Object> = new EventEmitter()

The event emitted when an action (e.g., button, kebab, etc.) has been selected

onClick

onClick: EventEmitter<Object> = new EventEmitter()

The event emitted when an item has been clicked

onDblClick

onDblClick: EventEmitter<Object> = new EventEmitter()

The event emitted when an item is double clicked

onSelectionChange

onSelectionChange: EventEmitter<Object> = new EventEmitter()

The event emitted when an item selection has been changed

Accessors

itemsEmpty

  • get itemsEmpty(): boolean
  • Get the flag indicating list has no items

    Returns boolean

    The flag indicating list has no items

Methods

selectItem

  • selectItem(item: any, selected: boolean): void
  • Select or deselect an item

    Parameters

    • item: any

      The item to select or deselect

    • selected: boolean

      True if item should be selected

    Returns void

Generated using TypeDoc