Work with pseudo-states in the Designer
Get the current pseudo-state of the designer and subscribe to changes in the pseudo-state. This is helpful for showing specific style properties based on a pseudo-state like :hover
, :focus
, or :active
.
- Get the pseudo-state of the designer
Added thewebflow.getPseudoMode()
method to return the pseudo-class state of the designer. - Subscribe to pseudo-state changes
Added options to thewebflow.subscribe()
method to subscribe to changes in the pseudo-state of the designer.
Get additional site details
- Get site information
ThegetSiteInfo
method now returns thedomains
object in the response.