Base class for anything on a Lucid document that has an ID and properties.
Extended by
Constructors
new PropertyStoreProxy()
new PropertyStoreProxy(id, client): PropertyStoreProxy
Parameters
Parameter | Type | Description |
---|---|---|
id | string | ID of this element |
client | EditorClient |
Returns
Properties
client
protected readonly client: EditorClient;
id
readonly id: string;
ID of this element
properties
readonly properties: WriteableMapProxy<string, JsonSerializable, void, JsonSerializable>;
All properties available on this element, organized by name.
Not all properties are writeable (e.g. "ClassName" on a block).
To move or resize elements, use setLocation() or setBoundingBox() or offset() instead.