Opening closing the popup

Use the popup to render any content or form in a modal box that can be programmatically shown or hidden. For that the open and close methods can be used.

To check whether the popup is opened or not, use the isVisible method.

Get started with this example

Demo

html<mbsc-button 
  (click)="openPopup()"> Open popup
</mbsc-button>

<mbsc-popup #popup [options]="{display: 'center'}">
  <!-- popup content -->
  <mbsc-button 
    (click)="closePopup()"> Close 
  </mbsc-button>
</mbsc-popup>
tsopenPopup(): void {
  this.popup.open();
}

closePopup(): void {
  this.popup.close();
}
logo

Welcome to our website!

Have fun navigating through the demos.

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.