| activeElement.js |
Returns the actively focused element safely.
@param doc the document to check
|
897 |
- |
| addClass.js |
Adds a CSS class to a given element.
@param element the element
@param className the CSS class name
|
743 |
- |
| addEventListener.js |
eslint-disable no-return-assign |
1825 |
- |
| animate.js |
|
2718 |
- |
| animationFrame.js |
https://github.com/component/raf |
1311 |
- |
| 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
|
542 |
- |
| camelize.js |
|
250 |
- |
| camelizeStyle.js |
Copyright 2014-2015, Facebook, Inc.
All rights reserved.
https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/camelizeStyleName.js
|
591 |
- |
| canUseDOM.js |
|
236 |
- |
| childElements.js |
Collects all child elements of an element.
@param node the element
|
279 |
- |
| childNodes.js |
Collects all child nodes of an element.
@param node the node
|
345 |
- |
| clear.js |
Removes all child nodes from a given node.
@param node the node to clear
|
350 |
- |
| 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
|
821 |
- |
| collectElements.js |
|
386 |
- |
| collectSiblings.js |
|
669 |
- |
| contains.js |
eslint-disable no-bitwise, no-cond-assign |
638 |
- |
| css.js |
|
1241 |
- |
| filterEventHandler.js |
|
676 |
- |
| getComputedStyle.js |
Returns one or all computed style properties of an element.
@param node the element
@param psuedoElement the style property
|
549 |
- |
| getScrollAccessor.js |
|
667 |
- |
| hasClass.js |
Checks if a given element has a CSS class.
@param element the element
@param className the CSS class name
|
474 |
- |
| height.js |
Returns the height of a given element.
@param node the element
@param client whether to use `clientHeight` if possible
|
630 |
- |
| hyphenate.js |
|
219 |
- |
| hyphenateStyle.js |
Copyright 2013-2014, Facebook, Inc.
All rights reserved.
https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js
|
597 |
- |
| index.js |
|
6644 |
- |
| insertAfter.js |
Inserts a node after a given reference node.
@param node the node to insert
@param refNode the reference node
|
527 |
- |
| isDocument.js |
|
222 |
- |
| isInput.js |
Checks if a given element is an input (input, select, textarea or button).
@param node the element to check
|
376 |
- |
| isTransform.js |
|
303 |
- |
| isVisible.js |
Checks if a given element is currently visible.
@param node the element to check
|
336 |
- |
| isWindow.js |
|
440 |
- |
| listen.js |
|
636 |
- |
| matches.js |
Checks if a given element matches a selector.
@param node the element
@param selector the selector
|
611 |
- |
| 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
|
548 |
- |
| offset.js |
Returns the offset of a given element, including top and left positions, width and height.
@param node the element
|
1226 |
- |
| offsetParent.js |
|
735 |
- |
| ownerDocument.js |
Returns the owner document of a given element.
@param node the element
|
284 |
- |
| ownerWindow.js |
Returns the owner window of a given element.
@param node the element
|
480 |
- |
| parents.js |
Collects all parent elements of a given element.
@param node the element
|
453 |
- |
| position.js |
Returns the relative position of a given element.
@param node the element
@param offsetParent the offset parent
|
2088 |
- |
| 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
|
502 |
- |
| querySelectorAll.js |
Runs `querySelectorAll` on a given element.
@param element the element
@param selector the selector
|
393 |
- |
| remove.js |
Removes a given node from the DOM.
@param node the node to remove
|
325 |
- |
| removeClass.js |
Removes a CSS class from a given element.
@param element the element
@param className the CSS class name
|
806 |
- |
| removeEventListener.js |
A `removeEventListener` ponyfill
@param node the element
@param eventName the event name
@param handle the handler
@param options event options
|
646 |
- |
| scrollbarSize.js |
|
812 |
- |
| scrollLeft.js |
Gets or sets the scroll left position of a given element.
@param node the element
@param val the position to set
|
500 |
- |
| scrollParent.js |
eslint-disable no-cond-assign, no-continue |
1428 |
- |
| scrollTo.js |
eslint-disable no-nested-ternary |
1653 |
- |
| scrollTop.js |
Gets or sets the scroll top position of a given element.
@param node the element
@param val the position to set
|
499 |
- |
| siblings.js |
Collects all previous and next sibling elements of a given element.
@param node the element
|
531 |
- |
| 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
|
927 |
- |
| toggleClass.js |
Toggles a CSS class on a given element.
@param element the element
@param className the CSS class name
|
774 |
- |
| transitionEnd.js |
|
1372 |
- |
| 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
|
682 |
- |
| width.js |
Returns the width of a given element.
@param node the element
@param client whether to use `clientWidth` if possible
|
629 |
- |