Appearance
wiz-table
Use the wiz-table component to add a table to your email template. You can add text, images, buttons, and other component to the table cells. For more information about the component in eWizard Editor, see Table.
Learn more about components
Usage
To use the wiz-table component in your email project:
Add the
<wiz-table>tag to your email template and change its properties in theApp.vuefile.html<!--./App.vue --> <template> <wiz-root align="center" style="background: #ffffff; width: 700px"> <wiz-table id="wiz-table-144c"></wiz-table> </wiz-root> </template>eWizard Editor sets the
idattribute when you add the component to the email layout. Theidattribute is required for the correct display of the component styles in eWizard Editor.Add the
<wiz-table-row>and<wiz-table-cell>tags for rows and cells respectfully.html<!--./App.vue --> <template> <wiz-root align="center" style="background: #ffffff; width: 700px"> <wiz-table id="wiz-table-144c"> <wiz-table-row ><wiz-table-cell id="wiz-table-cell-2128" ></wiz-table-cell ><wiz-table-cell id="wiz-table-cell-b419" ></wiz-table-cell> </wiz-table-row> </wiz-table> </wiz-root> </template>Add components within the
<wiz-table-cell>tag. For example,<wiz-text>andwiz-image:html<!--./App.vue --> <template> <wiz-root align="center" style="background: #ffffff; width: 700px"> <wiz-table id="wiz-table-144c"> <wiz-table-row ><wiz-table-cell id="wiz-table-cell-2128" ><wiz-text :text="$t('wiz_text_21c0')"></wiz-text></wiz-table-cell ><wiz-table-cell id="wiz-table-cell-b419" ><wiz-image id="wiz-image-5031" src="common/media/images/f6194d90-8f03-11ec-96c2-ea6c057b1b2f.jpg" data-asset-id="6ckgp7613q" ></wiz-image></wiz-table-cell></wiz-table-cell> </wiz-table-row> </wiz-table> </wiz-root> </template>
Attributes
Set the rearrange-table attribute to true so the table is adjusted to various mobile devices.
html
<wiz-table :rearrange-table="true"></wiz-table>Properties
The following properties are available:
| Property | Type | Default value | Description |
|---|---|---|---|
rearrangeTable | boolean | false | Email table mobile device responsiveness |