Skip to main content

TagEditor

Constructors

new TagEditor()

new TagEditor(dart): TagEditor

Parameters

ParameterType
dartany

Returns

TagEditor

Source

src/widgets.ts:1559

Properties

PropertyType
dartany

Accessors

acceptsDragDrop

set acceptsDragDrop(predicate): void

Parameters

ParameterType
predicate(...params) => boolean

Source

src/widgets.ts:1587


doDrop

set doDrop(action): void

Parameters

ParameterType
actionFunction

Source

src/widgets.ts:1591


root

get root(): HTMLElement

Returns

HTMLElement

Source

src/widgets.ts:1567


tags

get tags(): TagElement[]

Returns

TagElement[]

Source

src/widgets.ts:1571

Methods

addTag()

addTag(tag, notify): any

Parameters

ParameterTypeDefault value
tagstring | TagElementundefined
notifybooleantrue

Returns

any

Source

src/widgets.ts:1575


clearTags()

clearTags(): void

Returns

void

Source

src/widgets.ts:1583


onChanged()

onChanged(callback): StreamSubscription

Parameters

ParameterType
callbackFunction

Returns

StreamSubscription

Source

src/widgets.ts:1595


removeTag()

removeTag(tag): void

Parameters

ParameterType
tagstring | TagElement

Returns

void

Source

src/widgets.ts:1579


create()

static create(): TagEditor

Returns

TagEditor

Source

src/widgets.ts:1563