[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentysixteen/js/ -> html5.js (summary)

(no description)

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

Defines 8 functions

  addStyleSheet()
  getElements()
  addElements()
  getExpandoData()
  createElement()
  createDocumentFragment()
  shivMethods()
  shivDocument()

Functions
Functions that are not part of a class:

addStyleSheet(ownerDocument, cssText)   X-Ref
Creates a style sheet with the given CSS text and adds it to the document.

returns: {StyleSheet} The style element.
param: {Document} ownerDocument The document.
param: {String} cssText The CSS text.

getElements()   X-Ref
Returns the value of `html5.elements` as an array.

returns: {Array} An array of shived element node names.

addElements(newElements, ownerDocument)   X-Ref
Extends the built-in list of html5 elements

param: {String|Array} newElements whitespace separated list or array of new element names to shiv
param: {Document} ownerDocument The context document.

getExpandoData(ownerDocument)   X-Ref
Returns the data associated to the given document

returns: {Object} An object of data.
param: {Document} ownerDocument The document.

createElement(nodeName, ownerDocument, data)   X-Ref
returns a shived element for the given nodeName and document

returns: {Object} The shived element.
param: {String} nodeName name of the element
param: {Document|DocumentFragment} ownerDocument The context document.

createDocumentFragment(ownerDocument, data)   X-Ref
returns a shived DocumentFragment for the given document

returns: {Object} The shived DocumentFragment.
param: {Document} ownerDocument The context document.

shivMethods(ownerDocument, data)   X-Ref
Shivs the `createElement` and `createDocumentFragment` methods of the document.

param: {Document|DocumentFragment} ownerDocument The document.
param: {Object} data of the document.

shivDocument(ownerDocument)   X-Ref
Shivs the given document.

returns: {Document} The shived document.
param: {Document} ownerDocument The document to shiv.



Generated: Thu Apr 25 01:00:03 2024 Cross-referenced by PHPXref 0.7.1