[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/ -> render.js (summary)

(no description)

File Size: 423 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  preview()
  computeHashes()
  executeEvent()
  executeEvents()
  refreshElementContent()
  refreshNode()
  elementHashesMatch()
  hash()
  syncElementAttributes()
  setParameter()

Functions
Functions that are not part of a class:

preview(text, target)   X-Ref
Parse a given text and render it into given HTML element

param: {string} text
param: {!HTMLElement} target
return: {!Node}

computeHashes(fragment)   X-Ref
No description

executeEvent(node, eventName)   X-Ref
Execute an event's code on a given node

param: {!Element} node
param: {string}   eventName

executeEvents(root, eventName)   X-Ref
No description

refreshElementContent(oldParent, newParent)   X-Ref
Update the content of given node oldParent to match node newParent

param: {!Node} oldParent
param: {!Node} newParent

refreshNode(oldNode, newNode)   X-Ref
Update given node oldNode to make it match newNode

param: {!Node} oldNode
param: {!Node} newNode
return: {boolean} Whether the node can be skipped

elementHashesMatch(oldEl, newEl)   X-Ref
Test whether both given elements have a hash value and both match

param: {!HTMLElement} oldEl
param: {!HTMLElement} newEl
return: {boolean}

hash(text)   X-Ref
Hash given string

param: {string} text
return: {number}

syncElementAttributes(oldEl, newEl)   X-Ref
Make the set of attributes of given element oldEl match newEl's

param: {!HTMLElement} oldEl
param: {!HTMLElement} newEl

setParameter(paramName, paramValue)   X-Ref
Set the value of a stylesheet parameter

param: {string} paramName  Parameter name
param: {string} paramValue Parameter's value



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1