Class Tags
Hierarchy
- Tags
Index
Methods
Static Add Tags ToSearch playground for AddTagsTo
-
Adds tags to an object
Parameters
-
obj: any
defines the object to use
-
tagsString: string
defines the tag string. The tags 'true' and 'false' are reserved and cannot be used as tags. A tag cannot start with '||', '&&', and '!'. It cannot contain whitespaces
Returns void
-
Static Disable ForSearch playground for DisableFor
-
Removes tags support
Parameters
-
obj: any
defines the object to use
Returns void
-
Static Enable ForSearch playground for EnableFor
-
Adds support for tags on the given object
Parameters
-
obj: any
defines the object to use
Returns void
-
Static Get TagsSearch playground for GetTags
-
Gets the tags available on a given object
Parameters
-
obj: any
defines the object to use
-
Optional asString: boolean
defines if the tags must be returned as a string instead of an array of strings
Returns any
the tags
-
Static Has TagsSearch playground for HasTags
-
Gets a boolean indicating if the given object has tags
Parameters
-
obj: any
defines the object to use
Returns boolean
a boolean
-
Static Matches QuerySearch playground for MatchesQuery
-
Defines if tags hosted on an object match a given query
Parameters
-
obj: any
defines the object to use
-
tagsQuery: string
defines the tag query
Returns boolean
a boolean
-
Static Remove Tags FromSearch playground for RemoveTagsFrom
-
Removes specific tags from a specific object
Parameters
-
obj: any
defines the object to use
-
tagsString: string
defines the tags to remove
Returns void
-
Class used to store custom tags