Appearance
eWizard.js framework v4.3.1
New framework features and updates
- Added the
popupmodifier tov-openaction. It allows a popup opening byidprovided as value on click or any other event, whatever is specified:
html
<i18n>
{
"eng": {
"text": "Click to open the Awesome Popup!"
}
}
</i18n>
<template>
<div class="layout">
<wiz-button :text="$t('text')" v-open.popup="'awesomePopup'"></wiz-button>
<wiz-popup id="awesomePopup" :opened.sync='isPopupOpened'></wiz-popup>
</div>
</template>
<script>
import wizButton from 'wiz-button'
import wizPopup from 'wiz-popup'
export default {
components:{
wizButton,
wizPopup
},
data(){
return{
isPopupOpened:false
}
}
};
</script>- The
vViewercomponent of theewizardjsmodule is renamed towizViewer.
Also, now the content can be inserted inside the Viewer component with new <slot></slot> tag. So that, slides swiping is more user-friendly, as the new tag restricts swiping by the actual slide content area.
- The new
wiz-slidecomponent- The e-Detailers and Surveys slides’ root component.
- A part of the
ewizardjsmodule. - Is automatically registered as a global component.
- Allows using
wiz-slidein further features and tech improvements, and avoid manual slide layout updates.
html
<i18n>
{
"eng":
"text": "Welcome to the slide!"
}
}
</i18n>
<template>
<wiz-slide>
<div class="layout">
<wiz-text :text="$t('text')"></wiz-text>
</div>
</wiz-slide>
</template>
<script>
export default {};
</script>
<style scoped></style>- The project
external-vue-builderthat is used to build presentations to format compatible with CLMs, is renamed toedetailer-builder.
eWizard-cli v0.6.0
The
-calias for--chapteroption of the wiz slide command is added.wiz slidenow creates a slide with the<wiz-slide>component in the root.
Emails editing features
The sealed attribute for eWizard.js components and blocks:
Tells eWizard editor how to restrict editing of the element.
Useful when it is needed to preserve the look of elements styles (for example, to keep the initial components’ design).
Example:
html
<wiz-image sealed></wiz-image>The sealed attribute without options turns off selection of a component.
You can gain even more control by passing the following options as arguments to sealed:
placement,positionto turn off component movingdeleteto turn off component removingduplicateto turn off component duplicationpropsto turn off component properties editing
The following options are used to deny styles editing:
paddingto turn off padding editingbackgroundto turn off background color editingborderto turn off border editingsizeto turn off size editing
Even more, you can pass several options to sealed at once by separating them with a space.
Example:
html
<wiz-image sealed="placement delete duplicate props padding border size background"></wiz-image>