【问题标题】:Toastr Spinner animationToastr Spinner 动画
【发布时间】:2021-01-18 06:28:23
【问题描述】:

如何制作进度条从左到右的反向动画?

$(document).ready(function() {
        toastr.options = {
            'closeButton': true,
            'debug': false,
            'newestOnTop': false,
            'progressBar': false,
            'positionClass': 'toast-top-left',  
            'preventDuplicates': false,
            'showDuration': '1000',
            'hideDuration': '1000',
            'timeOut': '5000',
            'extendedTimeOut': '1000',
            'showEasing': 'swing',
            'hideEasing': 'linear',
            'showMethod': 'fadeIn',
            'hideMethod': 'fadeOut',
        }
    });

【问题讨论】:

    标签: jquery-animate reverse jquery-ui-progressbar


    【解决方案1】:

    覆盖css类(toast-progress)

    .toast-progress {右:0;左:自动;}

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-15
      • 1970-01-01
      • 2020-06-02
      • 1970-01-01
      • 2014-08-27
      相关资源
      最近更新 更多