class ParserOptions extends Object
Parser Options
- Annotations
- @ScalaJSDefined() @RawJSType()
- Alphabetic
- By Inheritance
- ParserOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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)
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var decodeEntities: UndefOr[Boolean]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- var lowerCaseAttributeNames: UndefOr[Boolean]
- var lowerCaseTags: UndefOr[Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var normalizeWhitespace: UndefOr[Boolean]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- var recognizeCDATA: UndefOr[Boolean]
- var recognizeSelfClosing: UndefOr[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var withDomLvl1: UndefOr[Boolean]
- var xmlMode: UndefOr[Boolean]