Document

API ReferenceDocument

Source


Document.onBeforeRender()

Static property of
Document
Parameters
  • file — Document
Type
Signal

Corresponding node handler: n-onBeforeRender="".

Source


Document.onRender()

Static property of
Document
Parameters
  • file — Document
Type
Signal

Corresponding node handler: n-onRender="".

Source


Document.onBeforeRevert()

Static property of
Document
Parameters
  • file — Document
Type
Signal

Corresponding node handler: n-onBeforeRevert="".

Source


Document.onRevert()

Static property of
Document
Parameters
  • file — Document
Type
Signal

Corresponding node handler: n-onRevert="".

Source


Document.fromHTML()

Static method of
Document
Parameters
  • path — String
  • html — String
Returns
Document

Source


Document.fromElement()

Static method of
Document
Parameters
  • path — String
  • element — Element
Returns
Document

Source


Document.fromJSON()

Static method of
Document
Parameters
  • json — Object or String
Returns
Document

Source


Document.parse()

Static method of
Document
Parameters
  • file — Document

Source


Document.factory()

Static method of
Document
Parameters
  • path — String
Returns
Document

Source


constructor()

Parameters
  • path — String
  • element — Element
Returns
Document

Source


render()

Parameters
  • props — Anyoptional
  • context — Anyoptional
  • source — Documentoptional
Returns
Document

Source


revert()

Returns
Document

Source


use()

Parameters
  • useName — String
  • document — Documentoptional
Returns
Document

Source


onReplaceByUse()

Parameters
  • use — Document.Use
Type
Signal

Corresponding node handler: n-onReplaceByUse="".

Source


clone()

Returns
Document

Source


destroy()

Source


toJSON()

Returns
Object

Source

results matching ""

    No results matching ""