TagEditor
Constructors
new TagEditor()
new TagEditor(
dart):TagEditor
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Source
Properties
| Property | Type |
|---|---|
dart | any |
Accessors
acceptsDragDrop
setacceptsDragDrop(predicate):void
Parameters
| Parameter | Type |
|---|---|
predicate | (...params) => boolean |
Source
doDrop
setdoDrop(action):void
Parameters
| Parameter | Type |
|---|---|
action | Function |
Source
root
getroot():HTMLElement
Returns
HTMLElement
Source
tags
gettags():TagElement[]
Returns
Source
Methods
addTag()
addTag(
tag,notify):any
Parameters
| Parameter | Type | Default value |
|---|---|---|
tag | string | TagElement | undefined |
notify | boolean | true |
Returns
any
Source
clearTags()
clearTags():
void
Returns
void
Source
onChanged()
onChanged(
callback):StreamSubscription
Parameters
| Parameter | Type |
|---|---|
callback | Function |
Returns
Source
removeTag()
removeTag(
tag):void
Parameters
| Parameter | Type |
|---|---|
tag | string | TagElement |
Returns
void
Source
create()
staticcreate():TagEditor