botanjs/src/externs/Dandelion.js
raw ยท 1256 bytes
/** @constructor */
var Dandelion = function (){};
/** @type {function(...?): !HTMLElement} */
Dandelion.wrap = function() {};
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapc = function() {};
/** @type {function(...?): !HTMLElement} */
Dandelion.wrape = function() {};
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapne = function() {};
/** @type {function(...?): !HTMLElement} */
Dandelion.wrapna = function() {};
/** @type {function(string): !HTMLElement} */
Dandelion.textNode = function() {};
/**
* @param {*} elem
* @param {function(*): boolean} cond
* @return {?HTMLElement}
*/
Dandelion.bubbleUp = function(elem, cond) {};
/** @type {function(HTMLElement, function(HTMLElement): boolean): void} */
Dandelion.chainUpApply = function() {};
/** @type {function(string, boolean=): (HTMLElement|Dandelion.IDOMElement)} */
Dandelion.id = function() {};
/** @type {Function} */
Dandelion.tag = function() {};
/** @type {Function} */
Dandelion.gname = function() {};
/** @type {Function} */
Dandelion.glass = function() {};
/**
* @typedef {{
* lowerLimit: (number|undefined),
* upperLimit: (number|undefined),
* leftLimit: (number|undefined),
* rightLimit: (number|undefined)
* }}
*/
Dandelion.Bounds;