Skip to main content

TagEditor

Constructors

new TagEditor()

new TagEditor(dart): TagEditor

Parameters

ParameterType
dartany

Returns

TagEditor

Source

src/widgets.ts:1367

Properties

PropertyType
dartany

Accessors

acceptsDragDrop

set acceptsDragDrop(predicate): void

Parameters

ParameterType
predicate(...params) => boolean

Source

src/widgets.ts:1395


doDrop

set doDrop(action): void

Parameters

ParameterType
actionFunction

Source

src/widgets.ts:1399


root

get root(): HTMLElement

Returns

HTMLElement

Source

src/widgets.ts:1375


tags

get tags(): TagElement[]

Returns

TagElement[]

Source

src/widgets.ts:1379

Methods

addTag()

addTag(tag, notify): any

Parameters

ParameterTypeDefault value
tagstring | TagElementundefined
notifybooleantrue

Returns

any

Source

src/widgets.ts:1383


clearTags()

clearTags(): void

Returns

void

Source

src/widgets.ts:1391


onChanged()

onChanged(callback): StreamSubscription

Parameters

ParameterType
callbackFunction

Returns

StreamSubscription

Source

src/widgets.ts:1403


removeTag()

removeTag(tag): void

Parameters

ParameterType
tagstring | TagElement

Returns

void

Source

src/widgets.ts:1387


create()

static create(): TagEditor

Returns

TagEditor

Source

src/widgets.ts:1371