Open halfonf opened 8 years ago
@halfonf I don't know why this happens since I didn't see any code sample.
Please try to take the time and supply samples so people can help you, It's hard getting into people heads so the more info the better. This is true for every OS project out there.
Just guessing here but you can't call alert
on DropInPresetBuilder
since alert
is only on the modal
instance.
For example:
modal.alert()
.message('An alert message!')
.showCloseButton(true);
The call to modal.alert()
in VEX Plugin returns a DropInPresetBuilder
on which you setup the instance and then call open()
to show it.
I'm trying to use the vex plugin. It works with bootstrap one.
I get an error when compiling on my modal call : Property 'alert' doesn't exist on the 'DropInPresetBuilder'
I'm using angular 2.0.1 and the latest version of the angular2-modal component.
thx