function onAppearance(listener: (appearance: Appearance) => void): () => void; Calls listener with the current instance's appearance each time it changes, from the engine's media queries or a host push, until the returned function is called.
onAppearance functionfunction onAppearance(listener: (appearance: Appearance) => void): () => void; Calls listener with the current instance's appearance each time it changes, from the engine's media queries or a host push, until the returned function is called.