| activeElement.js |
Returns the actively focused element safely.
@param doc the document to check
|
669 |
- |
| addClass.js |
Adds a CSS class to a given element.
@param element the element
@param className the CSS class name
|
520 |
- |
| addEventListener.js |
eslint-disable no-return-assign |
1404 |
- |
| animate.js |
|
2297 |
- |
| animationFrame.js |
https://github.com/component/raf |
1062 |
- |
| attribute.js |
Gets or sets an attribute of a given element.
@param node the element
@param attr the attribute to get or set
@param val the attribute value
|
447 |
- |
| camelize.js |
|
156 |
- |
| camelizeStyle.js |
Copyright 2014-2015, Facebook, Inc.
All rights reserved.
https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/camelizeStyleName.js
|
357 |
- |
| canUseDOM.js |
|
101 |
- |
| childElements.js |
Collects all child elements of an element.
@param node the element
|
180 |
- |
| childNodes.js |
Collects all child nodes of an element.
@param node the node
|
250 |
- |
| clear.js |
Removes all child nodes from a given node.
@param node the node to clear
|
259 |
- |
| closest.js |
Returns the closest parent element that matches a given selector.
@param node the reference element
@param selector the selector to match
@param stopAt stop traversing when this element is found
|
599 |
- |
| collectElements.js |
|
285 |
- |
| collectSiblings.js |
|
438 |
- |
| contains.js |
eslint-disable no-bitwise, no-cond-assign |
544 |
- |
| css.js |
|
825 |
- |
| filterEventHandler.js |
|
379 |
- |
| getComputedStyle.js |
Returns one or all computed style properties of an element.
@param node the element
@param psuedoElement the style property
|
318 |
- |
| getScrollAccessor.js |
|
434 |
- |
| hasClass.js |
Checks if a given element has a CSS class.
@param element the element
@param className the CSS class name
|
380 |
- |
| height.js |
Returns the height of a given element.
@param node the element
@param client whether to use `clientHeight` if possible
|
368 |
- |
| hyphenate.js |
|
124 |
- |
| hyphenateStyle.js |
Copyright 2013-2014, Facebook, Inc.
All rights reserved.
https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js
|
362 |
- |
| index.js |
|
3475 |
- |
| insertAfter.js |
Inserts a node after a given reference node.
@param node the node to insert
@param refNode the reference node
|
430 |
- |
| isDocument.js |
|
126 |
- |
| isInput.js |
Checks if a given element is an input (input, select, textarea or button).
@param node the element to check
|
284 |
- |
| isTransform.js |
|
206 |
- |
| isVisible.js |
Checks if a given element is currently visible.
@param node the element to check
|
241 |
- |
| isWindow.js |
|
216 |
- |
| listen.js |
|
330 |
- |
| matches.js |
Checks if a given element matches a selector.
@param node the element
@param selector the selector
|
519 |
- |
| nextUntil.js |
Collects all next sibling elements of an element until a given selector is matched.
@param node the referene node
@param selector the selector to match
|
324 |
- |
| offset.js |
Returns the offset of a given element, including top and left positions, width and height.
@param node the element
|
876 |
- |
| offsetParent.js |
|
465 |
- |
| ownerDocument.js |
Returns the owner document of a given element.
@param node the element
|
185 |
- |
| ownerWindow.js |
Returns the owner window of a given element.
@param node the element
|
254 |
- |
| parents.js |
Collects all parent elements of a given element.
@param node the element
|
231 |
- |
| position.js |
Returns the relative position of a given element.
@param node the element
@param offsetParent the offset parent
|
1599 |
- |
| prepend.js |
Insert a given element as the first child of a parent element.
@param node the element to prepend
@param parent the parent element
|
409 |
- |
| querySelectorAll.js |
Runs `querySelectorAll` on a given element.
@param element the element
@param selector the selector
|
305 |
- |
| remove.js |
Removes a given node from the DOM.
@param node the node to remove
|
233 |
- |
| removeClass.js |
Removes a CSS class from a given element.
@param element the element
@param className the CSS class name
|
709 |
- |
| removeEventListener.js |
A `removeEventListener` ponyfill
@param node the element
@param eventName the event name
@param handle the handler
@param options event options
|
512 |
- |
| scrollbarSize.js |
|
587 |
- |
| scrollLeft.js |
Gets or sets the scroll left position of a given element.
@param node the element
@param val the position to set
|
236 |
- |
| scrollParent.js |
eslint-disable no-cond-assign, no-continue |
1058 |
- |
| scrollTo.js |
eslint-disable no-nested-ternary |
1204 |
- |
| scrollTop.js |
Gets or sets the scroll top position of a given element.
@param node the element
@param val the position to set
|
235 |
- |
| siblings.js |
Collects all previous and next sibling elements of a given element.
@param node the element
|
308 |
- |
| text.js |
Collects the text content of a given element.
@param node the element
@param trim whether to remove trailing whitespace chars
@param singleSpaces whether to convert multiple whitespace chars into a single space character
|
838 |
- |
| toggleClass.js |
Toggles a CSS class on a given element.
@param element the element
@param className the CSS class name
|
462 |
- |
| transitionEnd.js |
|
1044 |
- |
| triggerEvent.js |
Triggers an event on a given element.
@param node the element
@param eventName the event name to trigger
@param bubbles whether the event should bubble up
@param cancelable whether the event should be cancelable
|
584 |
- |
| width.js |
Returns the width of a given element.
@param node the element
@param client whether to use `clientWidth` if possible
|
365 |
- |