Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 836 Bytes

widget-style-keys.md

File metadata and controls

34 lines (30 loc) · 836 Bytes

Widget style keys

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