Skip to main content

TagEditor

Constructors

new TagEditor()

new TagEditor(dart): TagEditor

Parameters

ParameterType
dartany

Returns

TagEditor

Source

src/widgets.ts:1558

Properties

PropertyType
dartany

Accessors

acceptsDragDrop

set acceptsDragDrop(predicate): void

Parameters

ParameterType
predicate(...params) => boolean

Source

src/widgets.ts:1586


doDrop

set doDrop(action): void

Parameters

ParameterType
actionFunction

Source

src/widgets.ts:1590


root

get root(): HTMLElement

Returns

HTMLElement

Source

src/widgets.ts:1566


tags

get tags(): TagElement[]

Returns

TagElement[]

Source

src/widgets.ts:1570

Methods

addTag()

addTag(tag, notify): any

Parameters

ParameterTypeDefault value
tagstring | TagElementundefined
notifybooleantrue

Returns

any

Source

src/widgets.ts:1574


clearTags()

clearTags(): void

Returns

void

Source

src/widgets.ts:1582


onChanged()

onChanged(callback): StreamSubscription

Parameters

ParameterType
callbackFunction

Returns

StreamSubscription

Source

src/widgets.ts:1594


removeTag()

removeTag(tag): void

Parameters

ParameterType
tagstring | TagElement

Returns

void

Source

src/widgets.ts:1578


create()

static create(): TagEditor

Returns

TagEditor

Source

src/widgets.ts:1562