TagEditor
Constructors
new TagEditor()
new TagEditor(
dart
):TagEditor
Parameters
Parameter | Type |
---|---|
dart | any |
Returns
Source
Properties
Property | Type |
---|---|
dart | any |
Accessors
acceptsDragDrop
set
acceptsDragDrop(predicate
):void
Parameters
Parameter | Type |
---|---|
predicate | (...params ) => boolean |
Source
doDrop
set
doDrop(action
):void
Parameters
Parameter | Type |
---|---|
action | Function |
Source
root
get
root():HTMLElement
Returns
HTMLElement
Source
tags
get
tags():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()
static
create():TagEditor