Home:ALL Converter>ngx-smart-modal parameters are not working in angular5

ngx-smart-modal parameters are not working in angular5

Ask Time:2018-06-19T20:25:36         Author:Pranab V V

Json Formatter

I am using 'ngx-smart-modal' version of 3.1.0 in my angular5 app with the help of this link.When I given the default parameters mentioned in the official tutorial it's not working.

  <ngx-smart-modal #myModal identifier="myModal" dismissable="false">
   <h1>hello</h1>
 </ngx-smart-modal>

in the above code I trying to give the dismissable parameter as false for preventing the closing of modal when clicking on backdrop,but it's not working.How can I pass these parameters in ngx-smart-modal ?

Author:Pranab V V,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50928413/ngx-smart-modal-parameters-are-not-working-in-angular5
Anjula Ranasinghe :

Try Property binding. This is not an issue with 'ngx-smart-modal' \n\n[dismissable]=\"false\"\n\n\nthis worked for me.",
2018-09-09T06:05:59
yy