Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
This function determines if design mode is active.
...
Code Block | ||||
---|---|---|---|---|
| ||||
var design = inDesignMode();
if (design) {
// perform design mode action
}
else {
// perform runtime mode action
}
|
...