Helpcenter +918010117117" [email protected]
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India


The modal widget opens a modal window which is triggered on the click or load event of the element.


widgetThe given widget will open in the modal window
headerThe heading for the modal window.
modalidBy default, a random string is used as modal id. You can override that by passing this attribute.
eventEvent that will trigger this modal. Default is click. Available values are 'click'and 'load'
delayEnter the delay in milliseconds in case of load event. The modal will load after the specified delay


Popup a promotion image only once for user

<div ng-if=" == 'home' && !ms.localStorage.getItem('login_popup_shown')" >
    <div ms-widget="ms.modal" data-msd-event="load" >
        <img src=""
        <div ng-init="ms.localStorage.setItem('login_popup_shown', 1)" />

Show a promotion image in a popup

<div ng-if=" == 'home'">              
   <div ms-widget="ms.modal" data-msd-event="load" >
     <img  src="" />

Show the login and register modal window

<!-- Opens the login widget on the click of the link -->
<a href="" ms-widget="ms.modal" ms-data-header="Login" ms-data-widget="login" >Login</a>
<!-- Opens the register widget on the click of the link -->
<button href="" ms-widget="ms.modal" ms-data-header="Sign up" ms-data-widget="register" >Sign up</button>