designer ยท console.warn
designer.getProperty/setProperty: there is n...
Printed by designer, prefixed [lattice], since 1.88.0.
Warnings reference › designer:property:*
- Identifier
designer:property:*- Raised by
- designer
- Since
- 1.88.0
What happened
getProperty and setProperty reach the designer's mode, state, selected page and guardrails by name. The name given is none of them, so getProperty returned undefined, or setProperty changed nothing and returned false.
The fix
Name one of mode, state, selectedPageId or guardrails.
The smallest fix
designer.setProperty(mode, view);
Reference
Covered in full at the API reference.