angular-package
TwitterGitHub
Text
Text
  • Introduction
  • Benefits
  • Getting started
    • General concepts
    • Skeleton
    • Installation
    • Public API
  • Wrapper
    • Basic concepts
    • Wrap
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Wrap() constructor
      • Instance methods
      • Examples
    • Wrapper
      • Generic type variables
      • Static properties
      • Instance accessors
      • Static methods
      • Wrapper() constructor
      • Instance methods
      • Examples
    • Wrapped
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Wrapped() constructor
      • Instance methods
      • Types
      • Examples
  • Tag
    • Basic concepts
    • Tag
      • Generic type variables
      • Static accessors
      • Static properties
      • Instance accessors
      • Instance properties
      • Static methods
      • Tag() constructor
      • Instance methods
      • Types
      • Examples
    • BBCodeTag
      • Static methods
      • BBCodeTag() constructor
    • HtmlTag
      • Generic type variables
      • HtmlTag() constructor
    • Tags
    • Tagged
  • Main
    • AllowedChars
    • Attribute
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Attribute() constructor
      • Instance methods
    • Attributes
    • Template
    • Text
  • Legend
    • Property tags
  • Other
    • Contact
    • Sponsor
  • More versions
Powered by GitBook
On this page
  • Instance accessors
  • Static methods
  • Instance methods

Was this helpful?

  1. Wrapper

Wrapper

PreviousExamplesNextGeneric type variables

Last updated 3 years ago

Was this helpful?

The is an extension of the object, which means it represents the wrap of the and with the additional main ability to use it to wrap string. It can also define the in a restricted characters range.

Instance accessors

Name
Description

Static methods

Wrapper.
Description

Instance methods

Wrapper.prototype.
Description

The accessor, with the help of toStringTag, changes the default tag to 'wrapper' in the instance.

Defines a new instance consisting of the allowed opening and closing.

Gets the allowed characters of the type from the static .

Gets an instance of stored in the static .

The method checks if the value of any type is an instance of the .

The method sets the default pattern of allowed characters for static .

Sets a new instance of into the static .

The static method the specified text with a stored instance in the static or with a given wrap.

The method checks if the provided text is wrapped with the wrap of the specified object.

Checks if the provided text has a closing of the specified object.

Checks if the provided text has an opening of the specified object.

Returns the unwrapped text, without the opening and closing of the .

Wraps specific text with the wrap, the , and of the object.

Wrapper
AllowedChars
Wrapper
Wrap
Wrapper
Wrapper
Wrapper
Wrap
Wrapper
Wrapper
Wrapper
Wrapper
Wrapper
Wrapper
Wrap
immutable
wrap
get
Wrap
Wrapper
Wrapper
opening
closing
wraps
opening
closing
define()
getAllowedChars()
getWrap()
isWrapper()
setAllowedChars()
setWrap()
wrapText()
[Symbol.toStringTag]
isTextWrapped()
textHasClosing()
textHasOpening()
unwrapText()
wrapText()
Wrapper