arlas-wui-toolkit / Exports / TagDialogComponent
Class: TagDialogComponent
Implements
OnInit
Table of contents
Constructors
Properties
- bookmarks
- confirmDialogRef
- dialogRef
- existingTags
- keywordFields
- tagEvent
- tagFormGroup
- tagService
- taggableFields
Methods
Constructors
constructor
• new TagDialogComponent(formBuilder
, tagService
, configService
, collaborativeSearchService
, dialog
, bookmarkService
, dialogRef
)
Parameters
Name | Type |
---|---|
formBuilder |
UntypedFormBuilder |
tagService |
ArlasTagService |
configService |
ArlasConfigService |
collaborativeSearchService |
ArlasCollaborativesearchService |
dialog |
MatDialog |
bookmarkService |
ArlasBookmarkService |
dialogRef |
MatDialogRef <TagDialogComponent , any > |
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:100
Properties
bookmarks
• bookmarks: any
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:95
confirmDialogRef
• confirmDialogRef: MatDialogRef
<ConfirmModalComponent
, any
>
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:98
dialogRef
• dialogRef: MatDialogRef
<TagDialogComponent
, any
>
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:107
existingTags
• existingTags: string
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:96
keywordFields
• keywordFields: any
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:94
tagEvent
• tagEvent: Subject
<string
>
Output
: Angular
Description
A subject that emits the tag string
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:89
tagFormGroup
• tagFormGroup: UntypedFormGroup
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:92
tagService
• tagService: ArlasTagService
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:102
taggableFields
• taggableFields: any
[] = []
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:93
Methods
addTag
▸ addTag(): void
Adds a tag on a taggable field.
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:174
fieldChange
▸ fieldChange(event
): void
Parameters
Name | Type |
---|---|
event |
any |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:147
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:123
propagationChange
▸ propagationChange(propagate
): void
Parameters
Name | Type |
---|---|
propagate |
boolean |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:210
removeTag
▸ removeTag(): void
Removes a tag from a taggable field. If the tag value is not specified, all the tags of this field are removed
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/tag/tag.component.ts:189