## Logic

# Update element attributes, state values between elements, show and hide elements.

## State Attributes

State attributes from elements to elements within same page or across multiple tabs and windows.

    <a actions="state" state-object="test" state_to="A unique id"></a>

### State Values

State a value from an input to any element

### Conditional Logic

Add attribute contenteditbale to any html and element and use it as an input. CoCreateJS also converts render elements to collaborative rich text editors or a website builder.

    <h1 type="text" array="contacts" object="" key="name"></h1>

## Logic Attributes

- #### state_id string required

  A uinque id to receive state attribute.

- #### state_to string required

  id where the attributes will be stated to.

- #### state-* string required

  State any attribute defined

- #### state-overwrite string optional

  Overwrites attribute values

Previous Topic

Fetch a list and render the data using a template

Next Topic

User Management