webflow.subscribe("pseudomode", callback)Use this method to start listening for when a user changes the pseudo-state of the Designer.
"pseudomode" - The event to listen for.(pseudoState: PseudoStateKey) => void - The callback function to execute when the event occurs. The pseudoState parameter is the new pseudo-state of the Designer.Return Value
Unsubscribe
This is a special function you receive after subscribing. When you no longer want to listen to the event, call this function to stop receiving notifications.