1. You can pass the appearance object during initialization like this:
mailui.init({
appearance: {
panels: {
tools: {
dock: "left", // left, right
compact: false,
},
},
},
});
2. You can change appearance after initialization like this:
mailui.setAppearance({ ... });
Property | Description | Type | Default |
---|---|---|---|
dock | - | left, right | left |
compact | - | boolean | false |