Instance accessors
Public
Wrapped.prototype.closing
Wrapped.prototype.closingThe get accessor gets the closing of the wrap.
public get closing(): Closing {
return this.#closing;
}Returns
The return value is the wrap closing of a generic type variable Closing.
Wrapped.prototype.opening
Wrapped.prototype.openingThe get accessor gets the opening of the wrap.
public get opening(): Opening {
return this.#opening;
}Returns
The return value is the wrap opening of a generic type variable Opening.
Wrapped.prototype.text
Wrapped.prototype.textThe get accessor gets the text.
Returns
The return value is the text of a generic type variable Text.
Wrapped.prototype.value
Wrapped.prototype.valueThe get accessor gets the wrapped text primitive value of a specified object.
Returns
The return value is the text of a generic type variable in order Opening, Text, Closing on the template.
[Symbol.toStringTag]
[Symbol.toStringTag]The property, with the help of toStringTag of Symbol, changes the default object tag to wrapped for an instance of the Wrapped.
Example usage
Last updated
Was this helpful?