A style key is defined by structual widgets used in widget styles. Eg. in table there is key tr
for row, so developer can use
//css classes
{
cssClasses:{
tr: 'bg-gray-100'
}
}
//inline css style
{
cssStyle: `
.dme-w-tr{
height: 15px;
`
}
Common key: root
- the root element of a widget
Widget | Key | Description |
---|---|---|
Heading | ||
Table | tr |
Table row |
td |
Table cell | |
th |
Table head | |
Hero text(Image/video text) | hero |
hero root |
list |
list root | |
Tabs | ||
Accordion | ||