Skip to main content

TagEditor

Constructors

new TagEditor()

new TagEditor(dart): TagEditor

Parameters

ParameterType
dartany

Returns

TagEditor

Source

src/widgets/tree.ts:20

Properties

PropertyType
dartany

Accessors

acceptsDragDrop

set acceptsDragDrop(predicate): void

Parameters

ParameterType
predicate(...params) => boolean

Source

src/widgets/tree.ts:48


doDrop

set doDrop(action): void

Parameters

ParameterType
actionFunction

Source

src/widgets/tree.ts:52


root

get root(): HTMLElement

Returns

HTMLElement

Source

src/widgets/tree.ts:28


tags

get tags(): TagElement[]

Returns

TagElement[]

Source

src/widgets/tree.ts:32

Methods

addTag()

addTag(tag, notify): any

Parameters

ParameterTypeDefault value
tagstring | TagElementundefined
notifybooleantrue

Returns

any

Source

src/widgets/tree.ts:36


clearTags()

clearTags(): void

Returns

void

Source

src/widgets/tree.ts:44


onChanged()

onChanged(callback): StreamSubscription

Parameters

ParameterType
callbackFunction

Returns

StreamSubscription

Source

src/widgets/tree.ts:56


removeTag()

removeTag(tag): void

Parameters

ParameterType
tagstring | TagElement

Returns

void

Source

src/widgets/tree.ts:40


create()

static create(): TagEditor

Returns

TagEditor

Source

src/widgets/tree.ts:24