Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
elements\['element_1'\].putClientProperty(CLIENTDESIGN.SELECTABLE, false); |
Handles
BBy default the elements have all the handles if they are selectable.
It is possible to set specific handles for example only left and right if you want the user to be able to change the width of the element but not the height.
Sample:
Wiki Markup |
---|
//by default all are present. ('l' stands for left, 't' stands for top, etc.) elements\['element_1'\].putClientProperty(CLIENTDESIGN.HANDLES, new Array('r', 'l')); // other options are |
The options are:
Option | Stands for |
---|---|
't' |
...
Top | |
'b' |
...
Bottom | |
'r' |
...
Right | |
'l' |
...
Left | |
'bl' |
...
Bottom left corner | |
'br' |
...
Bottom right corner | |
'tl' |
...
Top left corner | |
'tr' | Top right corner |
Overview
Content Tools
Activity