Skip to content

wiz-placeholder

The wiz-placeholder component is a flexible container for managing and organizing its child wiz-column components. It acts as a structural scaffold for layouts, ensuring proper alignment, responsiveness, and dynamic behavior.

Usage

To create a layout with dynamic columns, add wiz-placeholder to your email layout and include wiz-column as required:

vue
<wiz-placeholder :align="'center'" :breakColumns="true">
  <wiz-column :width="50" :contentAlign="'left'">
    Column 1 content
  </wiz-column>
  <wiz-column :width="50" :contentAlign="'right'">
    Column 2 content
  </wiz-column>
</wiz-placeholder>

Properties


The following properties are available:
PropertyTypeDefault valueDescription
alignstringcenterDetermines how a placeholder is aligned on the email layout. One of: "center", "left", "right".
breakColumnsbooleantrueDetermines whether the placeholder is split into columns.

wiz-column


The following properties are available:
PropertyTypeDefault valueDescription
contentAlignstringcenterColumn content alignment. One of: "center", "left", "right".
labelstringColumnSets the column's label visible in eWizard Editor
widthnumber0The width of the column as a percentage. If not provided, the column width adjusts automatically.