HTML App

Overview


Insertable Containers


When creating HTML, you can create containers in your HTML that can contain davinci widgets. That is, the container would be selectable and a user could add a component like a chart or table into the container. In order to do this, create a div with the class "insertable" with an id (the id can be any id).

When you click the update button, the HTML app will insert the necessary code to convert the div to a container.

The selectable checkbox, when checked, makes your HTML itself selectable and deletable from a blog. Otherwise it is considered to be hard coded.


<div class="insertable" id="content">
</div>
					

Root Containers


In addition to be insertable, you can set a div to be the root. This makes the selected div to be the default location that components are added to. Note, you need to specify an id for this div as in the insertable div above.


<div class="insertable root" id="content">
</div>
					

Contents