CLIENTDESIGN

Overview

The CLIENTDESIGN outlines two constants: HANDLES, which determines available resizing handles, and SELECTABLE, which configures whether an element can be selected in the client design. These properties are set using the putClientProperty method.

Constants Summarized

Type
Name
Summary

Property that can be set using elements['element_1'].

Property that can be set using elements['element_1'].

Constants Detailed

HANDLES

Property that can be set using elements['element_1'].putClientProperty(...), it sets the available handles in clientdesign

Type String

Sample

//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 't', 'b', 'r', 'l', 'bl', 'br', 'tl', 'tr'

SELECTABLE

Property that can be set using elements['element_1'].putClientProperty(...), it sets the selectable flag in clientdesign

Type String

Sample

//by default an element with an name is selectable in client design
elements['element_1'].putClientProperty(CLIENTDESIGN.SELECTABLE, false);

Last updated