Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetNodeDeserializerRule

Hierarchy

  • GetNodeDeserializerRule

Index

Properties

Optional attribute

attribute: string | {}

Deserialize an element:

  • if this option (string) is in the element attribute names.
  • if this option (object) values match the element attributes.

Optional className

className: string

Deserialize an element if its className match this option.

Optional nodeNames

nodeNames: string | string[]

Deserialize an element if its nodeName is in this list. Set '*' to allow any node name.

Optional style

style: Partial<Record<number | keyof CSSStyleDeclaration, undefined | string | string[]>>

Deserialize an element if this option values match the element style values. Option value can be a list of string (only one match is needed).

Generated using TypeDoc