|
@ -147,12 +147,12 @@ array scryRenderedDOMComponentsWithClass( |
|
|
) |
|
|
) |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Finds all instances of components in the rendered tree that are DOM components with the class name matching `className`. |
|
|
Finds all DOM elements of components in the rendered tree that are DOM components with the class name matching `className`. |
|
|
|
|
|
|
|
|
### findRenderedDOMComponentWithClass |
|
|
### findRenderedDOMComponentWithClass |
|
|
|
|
|
|
|
|
```javascript |
|
|
```javascript |
|
|
ReactComponent findRenderedDOMComponentWithClass( |
|
|
DOMElement findRenderedDOMComponentWithClass( |
|
|
ReactComponent tree, |
|
|
ReactComponent tree, |
|
|
string className |
|
|
string className |
|
|
) |
|
|
) |
|
@ -169,12 +169,12 @@ array scryRenderedDOMComponentsWithTag( |
|
|
) |
|
|
) |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Finds all instances of components in the rendered tree that are DOM components with the tag name matching `tagName`. |
|
|
Finds all DOM elements of components in the rendered tree that are DOM components with the tag name matching `tagName`. |
|
|
|
|
|
|
|
|
### findRenderedDOMComponentWithTag |
|
|
### findRenderedDOMComponentWithTag |
|
|
|
|
|
|
|
|
```javascript |
|
|
```javascript |
|
|
ReactComponent findRenderedDOMComponentWithTag( |
|
|
DOMElement findRenderedDOMComponentWithTag( |
|
|
ReactComponent tree, |
|
|
ReactComponent tree, |
|
|
string tagName |
|
|
string tagName |
|
|
) |
|
|
) |
|
|