0
joe704la created
I want to be able to use the large modal like on here (<a class="postlink" href="https://angular-ui.github.io/bootstrap/#/modal">https://angular-ui.github.io/bootstrap/#/modal</a>) I am trying to figure out a way I can pass an attribute to the open modal function that when "large" is passed in that it will use the large width modal instead of the default one.
Would you have any suggestions on how I could achieve this?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
I should have read further down. All I needed to do was add the size parameter. For example like below...
var modalInstance = $uibModal.open({ templateUrl: '~/App/tenant/views/client/businessModal.cshtml', controller: 'tenant.views.client.businessModal as vm', backdrop: 'static', size: 'lg', resolve: { mrn: function () { return clientId; } }Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)