Skip to content

ListComponent.addTypedItem method

ListComponent › addTypedItem

Adds the text typed into ListComponent.newItemInputEl, when it normalizes to an item not yet in the list, and clears the input.

Signature:

addTypedItem(): boolean

Returns: boolean — Whether an item was added.