onAppearance function

Module @runic-artifex/views in @runic-artifex/views 0.23.0

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.