Skip to main content
The two members of Tap the host and the SDK’s own hooks use. Extensions do not call these.

Extended by

Properties

__portal

The portal node inside the mount’s shadow root, or null until the shadow root exists.

Methods

__subscribe()

The host replaces the member a key names with a new object and only then calls the key’s listeners; it never mutates a member in place, because the useTap* hooks compare snapshots by reference. Returns an unsubscribe function.

Parameters

key
TapChangeKey
listener
() => void

Returns

() => void