Modal in Vue Speed dial component

27 Feb 20231 minute to read

You can use the modal property to set the Speed Dial as modal which adds an overlay to prevent the background interaction.

        <div id="targetElement" style="position:relative;min-height:350px;border:1px solid;"></div>
        <ejs-speeddial id='speeddial'  openIconCss='e-icons e-edit' modal=true target='#targetElement' :items='items'></ejs-speeddial>

import Vue from 'vue';
import { SpeedDialPlugin  } from "@syncfusion/ej2-vue-buttons";
import { enableRipple } from '@syncfusion/ej2-base';
export default {
    data() {
        return {
            items: [
                { iconCss:'e-icons e-cut'},
                { iconCss:'e-icons e-copy'},
                { iconCss:'e-icons e-paste'}

@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';