标签:close als duration win option null 通过 timeout time
最关键的两文件
<link href="<?php echo RESOURCES_FOLDER;?>/frame/css/plugins/toastr/toastr.min.css" rel="stylesheet">
<script src="<?php echo RESOURCES_FOLDER;?>/frame/js/plugins/toastr/toastr.min.js"></script>
开始配置toastr的基本信息
toastr.options = {
"closeButton": true,
"debug": false,
"progressBar": true,
"positionClass": "toast-top-full-width",
"onclick": null,
"showDuration": "400",
"hideDuration": "1000",
"timeOut": "7000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
通过toastr.error("您好,你的权限级别不够无法访问"); 进行开启
标签:close als duration win option null 通过 timeout time
原文地址:http://www.cnblogs.com/ddxg/p/7157454.html