[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyseventeen/assets/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.

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

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

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

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

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

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

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

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.

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



Generated: Mon Sep 23 01:00:03 2019 Cross-referenced by PHPXref 0.7.1