按钮 设置加载

最后更新于:2022-04-02 03:16:49

[TOC] ## 实例 ## hello world ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/f1/ae/f1aea9a32d9a88b3cb1029670f67dc6f_106x67.png) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/d2/e0/d2e0a487e73d29214d1e16092d99f81f_191x67.png) ``` $('#myButton').on('click', function () { var $btn = $(this).button("loading") //todo $btn.button('reset') }) ```
';