如何在角烤面包机的选项中设置限制

时间:2018-12-10 09:36:12

标签: angularjs

我试图将在我的应用程序中出现的烤面包的数量设置为6,我使用的是角烤面包机,并且我给了maxOpened = 5,但它对我不起作用。我已经设置了这样的选项

toastr.options = {
        "closeButton": true,
        "debug": false,
        "newestOnTop": false,
        "maxOpened": 5,
        "progressBar": true,
        "positionClass": "toast-top-right",
        "preventDuplicates": false,
        "onclick": onToasterClick,
        "showDuration": "300",
        "hideDuration": "120000",
        "timeOut": "20000",
        "extendedTimeOut": "0",
        "showEasing": "swing",
        "hideEasing": "linear",
        "showMethod": "fadeIn",
        "hideMethod": "fadeOut"
    };

我想知道有什么方法可以将其设置为5。

0 个答案:

没有答案