Skip to main content
Version: Next

Element nodes

Element nodes represent native components in the native view tree (similar to Element nodes on Web).

They are provided by all native components, and by many built-in components, via refs:

info

Note that some built-in components are only a container for other components (including native components). For example, ScrollView internally renders a native scroll view and a native view, which are accessible through the ref it provides using methods like getNativeScrollRef() and getInnerViewRef().


Reference

Web-compatible API

From HTMLElement:

From Element:

From Node:

Legacy API