Appearance
eWizard.js framework v4.4.1
New framework features and updates
The
divblock with thelayoutclass is removed from all slide templates.A new content type,
brief, is introduced. Thebrieftemplates are designed to create quick mockups for the content items that further are to be developed and extended. Two types of brief items available:emailandsite. Thebrieftemplates have the same directory structure as default; however, they must contain simplified content tend to be used in mockup designs. The brief projects settings (.ewizardjs/settings.json) are as follows:
JSON
{
"type": "brief",
"subtype": "email"
}eWizardjs CLI 0.7.0
- The brief content types (
emailandsite) are now supported for the development builder.
Builders enhancements
New hooks are added to OCE CLM: onenter and onleave.
The onenter hook is triggered when a user enters a slide. To subscribe to this hook, use the following code:
js
this.$navigator.onenter(() => {
window.CLMPlayer.alert('You are entering the slide');
});The onleave hook is triggered every time when a user leaves the same slide. To subscribe to this hook, use the following code:
js
this.$navigator.onleave(() => {
window.CLMPlayer.alert('You are leaving the slide');
});Note
The window.CLMPlayer.alert function operates in OCE CLM only. Also, the alert function is executed only once per slide.
MPA builders (irep-mpa builder and oce-mpa builder) using index.html from presentation
Before this update, builders used own index.html templates, while index.html from the presentation sources were ignored.
Now, the builder uses index.html from the presentation. It allows using the <head> tag, change viewport, and add metatags.
Note
This feature is available for the OCE and Veeva CRM MPA builds.