Jahongir Rahmonov
Jahongir Rahmonov

Reputation: 13753

Change the size of modal in ngDialog

does ngDialog allow different sizes of modal?

For example, bootstrap-angular modal has such function:

$modal.open('sm') or $modal.open('lg')

which will open small and large modals respectively.

Is there such thing in ngDialog?

Upvotes: 0

Views: 7488

Answers (1)

Raphael Müller
Raphael Müller

Reputation: 2200

you can use the option to set a custom class, e.g. your bootstrap class or so:

ngDialog.open({
    className: 'ngdialog-theme-default'
});

you'll find further documentation in the official api documentation.

Upvotes: 1

Related Questions