new Tag(paramsopt)
Create tag.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
object |
<optional> |
Tag parameters. Properties
|
Members
-
types :TagTypes
-
Tag types.
Methods
-
static get(tag) → {Tag}
-
Warp tag object with Tag class instance.
Parameters:
Name Type Description tagAPITag | Tag Tag to wrap.
Returns:
Tag -Tag.
-
compare(tag, strictopt) → {boolean}
-
Compare this to given one.
Parameters:
Name Type Attributes Default Description tagstring | Tag Tag to compare with.
strictboolean <optional>
false Whatever all parameters must be the same.
Returns:
boolean -Whatever tags are equal.