Device Display
Default
Copy Pug Copy HTML Show code Hide code
<e-device-doc></e-device-doc>
<e-device-doc></e-device-doc>Push with tokeninputs Copy Pug Copy HTML Show code Hide code
<e-device>
<e-device-push app-title="Mail" editable>
<e-token-input class="e-device-push__headline" placeholder="From Name" no-style value="From Name <span name="token" type="tokentype" data='{ "z": "1" }'></span>"></e-token-input>
<e-token-input class="e-device-push__headline" placeholder="Title" no-style value="Title Goes <span name="token" type="tokentype" data='{ "z": "1" }'></span> Here"></e-token-input>
<e-token-input class="e-device-push__content is-ios_phone_default is-lockscreen" placeholder="Message" rows="2" no-style value="Pre-header <span name="token" type="tokentype" data='{ "z": "1" }'></span> Goes Here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."></e-token-input>
</e-device-push>
</e-device>
<e-device><e-device-push app-title="Mail" editable><e-token-input class="e-device-push__headline" placeholder="From Name" no-style="" value="From Name <span name="token" type="tokentype" data='{ "z": "1" }'></span>"></e-token-input><e-token-input class="e-device-push__headline" placeholder="Title" no-style="" value="Title Goes <span name="token" type="tokentype" data='{ "z": "1" }'></span> Here"></e-token-input><e-token-input class="e-device-push__content is-ios_phone_default is-lockscreen" placeholder="Message" rows="2" no-style="" value="Pre-header <span name="token" type="tokentype" data='{ "z": "1" }'></span> Goes Here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."></e-token-input></e-device-push></e-device>Message list with tokeninput Copy Pug Copy HTML Show code Hide code
<e-device>
<e-device-content type="messagelist" editable>
<e-token-input class="e-device-content__fromname" placeholder="From" no-style value="From Name <span name="token" type="tokentype" data='{ "z": "1" }'></span>"></e-token-input>
<e-token-input class="e-device-content__subject" placeholder="Title" no-style value="Title Goes <span name="token" type="tokentype" data='{ "z": "1" }'></span> Here"></e-token-input>
<e-token-input class="e-device-content__preheader" placeholder="Message" no-style rows="2" value="Pre-header <span name="token" type="tokentype" data='{ "z": "1" }'></span> Goes Here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."></e-token-input>
</e-device-content>
</e-device>
<e-device><e-device-content type="messagelist" editable><e-token-input class="e-device-content__fromname" placeholder="From" no-style="" value="From Name <span name="token" type="tokentype" data='{ "z": "1" }'></span>"></e-token-input><e-token-input class="e-device-content__subject" placeholder="Title" no-style="" value="Title Goes <span name="token" type="tokentype" data='{ "z": "1" }'></span> Here"></e-token-input><e-token-input class="e-device-content__preheader" placeholder="Message" no-style="" rows="2" value="Pre-header <span name="token" type="tokentype" data='{ "z": "1" }'></span> Goes Here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."></e-token-input></e-device-content></e-device>e-device API Reference
Properties
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
| width | Sets the width of the device (keeps aspect ratio) | number | ||
| height | Sets the height of the device (keeps aspect ratio) | number | ||
| type | Sets the type of the device (iphone and computer for now) | string |
e-device-content API Reference
Properties
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
| type | Sets the type of the content (message list of lockscreen for now) | string | ||
| from-name | Sets from name field, single line | string | ||
| subject | Sets subject field | string | ||
| preheader | Sets preheader field | string |
e-device-push API Reference
Properties
| Name | Description | Type | Required | Default value |
|---|---|---|---|---|
| type | Sets the type of the push: lockscreen, alert, noc | string | lockscreen | |
| device | Sets the device of the push: ios-phone-default, android-phone-default | string | ios-phone-default | |
| icon | Sets push icon image | url as string | ||
| app-title | Sets push app name | string | ||
| headline | Sets push headline | string | ||
| subtitle | Sets push subtitle | string | ||
| content | Sets push content | string | ||
| expanded | Sets expanded state for push | boolean | false |