Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

This function determines if design mode is active.

...

Code Block
javascript
javascript

var design = inDesignMode();
if (design) {
  // perform design mode action
}
else {
  // perform runtime mode action
}

...