Class

io.scalajs.npm.htmlparser2

ParserOptions

Related Doc: package htmlparser2

Permalink

class ParserOptions extends Object

Parser Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParserOptions(decodeEntities: UndefOr[Boolean] = js.undefined, lowerCaseTags: UndefOr[Boolean] = js.undefined, lowerCaseAttributeNames: UndefOr[Boolean] = js.undefined, normalizeWhitespace: UndefOr[Boolean] = js.undefined, recognizeCDATA: UndefOr[Boolean] = js.undefined, recognizeSelfClosing: UndefOr[Boolean] = js.undefined, withDomLvl1: UndefOr[Boolean] = js.undefined, xmlMode: UndefOr[Boolean] = js.undefined)

    Permalink

    decodeEntities

    If set to true, entities within the document will be decoded. Defaults to false.

    lowerCaseTags

    If set to true, all tags will be lowercased. If xmlMode is disabled, this defaults to true.

    lowerCaseAttributeNames

    If set to true, all attribute names will be lowercased. This has noticeable impact on speed, so it defaults to false.

    normalizeWhitespace

    TODO

    recognizeCDATA

    If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled. NOTE: If xmlMode is set to true then CDATA sections will always be recognized as text.

    recognizeSelfClosing

    If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true. NOTE: If xmlMode is set to true then self-closing tags will always be recognized.

    withDomLvl1

    TODO

    xmlMode

    Indicates whether special tags (<script> and <style>) should get special treatment and if "empty" tags (eg.
    ) can have children. If false, the content of special tags will be text only.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var decodeEntities: UndefOr[Boolean]

    Permalink

    If set to true, entities within the document will be decoded.

    If set to true, entities within the document will be decoded. Defaults to false.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  15. var lowerCaseAttributeNames: UndefOr[Boolean]

    Permalink

    If set to true, all attribute names will be lowercased.

    If set to true, all attribute names will be lowercased. This has noticeable impact on speed, so it defaults to false.

  16. var lowerCaseTags: UndefOr[Boolean]

    Permalink

    If set to true, all tags will be lowercased.

    If set to true, all tags will be lowercased. If xmlMode is disabled, this defaults to true.

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. var normalizeWhitespace: UndefOr[Boolean]

    Permalink

    TODO

  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  22. var recognizeCDATA: UndefOr[Boolean]

    Permalink

    If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled.

    If set to true, CDATA sections will be recognized as text even if the xmlMode option is not enabled. NOTE: If xmlMode is set to true then CDATA sections will always be recognized as text.

  23. var recognizeSelfClosing: UndefOr[Boolean]

    Permalink

    If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true.

    If set to true, self-closing tags will trigger the onclosetag event even if xmlMode is not set to true. NOTE: If xmlMode is set to true then self-closing tags will always be recognized.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. var withDomLvl1: UndefOr[Boolean]

    Permalink

    TODO

  32. var xmlMode: UndefOr[Boolean]

    Permalink

    Indicates whether special tags (<script> and <style>) should get special treatment and if "empty" tags (eg.

    Indicates whether special tags (<script> and <style>) should get special treatment and if "empty" tags (eg.
    ) can have children. If false, the content of special tags will be text only.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped