Child pages
  • Client Design Mode

Versions Compared

Key

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

...

TODO:explain hidden properties used by mirus

onSelect

function onSelect() { return true
}
Every element that is selected will get this event, you can return true if you want the user to be able to select it, or false if you don't want that the users uses that element in clientDesign mode.

...

onResize

...

Handle the resize of a element. This is a good position to save the element sizes.