[wordpress插件] Countup JS计数JS

wordpress 插件 文章 2020-04-03 17:20 596 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin is based on and utilizes CountUp.js, which is a dependency-free, lightweight JavaScript “class” that can be used to quickly create animations that display numerical data in a more interesting way.

此插件基于CountUp.js,并利用CountUp.js,它是一种无依赖项的轻量级JavaScript“类”,可用于快速创建以更有趣的方式显示数字数据的动画。

Based off of: https://inorganik.github.io/countUp.js/

基于:https://inorganik.github.io/countUp.js/

Usage & Configuration

用法和配置

Simply add the following shortcode to your posts, pages or widgets [countup]

只需将以下简码添加到您的帖子,页面或小部件中 [countup]

1) Basic customization can occur through the shortcode arguments

1)基本的自定义可以通过简码参数进行

The shortcode accepts the following arguments

简码接受以下参数

    • start: number to begin the counter from
    • 开始:从此开始计数的数字

    • end: number to end the counter at
    • end:结束计数器的数字

    • decimals: # of decimal places to show
    • 小数:要显示的小数位数

    • duration: time in second or the counter to round

      持续时间:以秒为单位或要倒数的时间

      [countup start=”5″ end=”100″ decimals=”3″ duration=”5″]

      [countup start =” 5” end =” 100”小数点=” 3” duration =” 5”]

    2) Further adjustments can be made through the settings panel, in the Countup.js options page, for the following options:

    2)可以通过Countup.js选项页面中的设置面板对以下选项进行进一步调整:

    `

     `

    easing:

    缓动:

    grouping: groups the content into sections (eg. 1,000 vs 1000)

    分组:将内容分组(例如1,000与1000)

    seperator: (default is comma)

    分隔符:(默认为逗号)

    decimal: symbol to use for decimal spot

    小数:用于小数点的符号

    prefix: ( character(s) at beginning of string )

    前缀:(字符串开头的字符)

    suffix: ( character(s) at end of string )
        

    后缀:(字符串末尾的字符)
        

    `

    `

安装步骤

    1. Use the WordPress Installer, Updater
    2. 使用WordPress安装程序,更新程序

    3. Activate in the “Plugins” admin panel
    4. 在“插件”管理面板中激活

    5. Visit the “Countup.js” menu option in the “settings” tab to configure options
    6. 访问“设置”标签中的“ Countup.js”菜单选项以配置选项

下载地址
https://downloads.wordpress.org/plugin/countup-js.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Arabic Woocommerce Middle east currencies阿拉伯语Woocommerce中东货币
[wordpress插件] Dashboard Posts Labels To Articles仪表板将标签张贴到文章
[wordpress插件] Disable jQuery Migrate禁用jQuery迁移
[wordpress插件] Do Button执行按钮
[wordpress插件] Advanced Contact form 7 DB高级联系表7 DB
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381