public BsDialog(IHtmlHelper helper = null) : base(helper)
 {
     ButtonAttributes = new Dictionary <string, object>();
     RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(BsDialog_min_css, BsDialog_css_cdn));
     RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(BsDialog_min_js, BsDialog_js_cdn));
     Method(BsMethod.Show);
 }
        public SweetAlertBs(IHtmlHelper helper = null) : base(helper)
        {
            RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(sweetalert_bs_css, sweetalert_bs_css_cdn));
            RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(sweetalert_bs_min_js, sweetalert_bs_js_cdn));

            ConfirmButtonClass("btn btn-primary");
        }
Exemple #3
0
 public Toastr(IHtmlHelper helper = null) : base(helper)
 {
     RenderScriptAndStyle.StyleOnce(ComponentUtility.GetCssTag(toastr_css, toastr_css_cdn));
     RenderScriptAndStyle.ScriptOnce(ComponentUtility.GetJsTag(toastr_js, toastr_js_cdn));
 }