UNPKG
@mdui/jq
Version:
latest (3.0.3)
3.0.3
3.0.2
3.0.1
3.0.0
拥有和 jQuery 相似 API 的轻量级 JavaScript 工具库
github.com/zdhxiong/mdui
zdhxiong/mdui
@mdui/jq
/
methods
/
toggle.d.ts
16 lines
(15 loc)
•
304 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
'./each.js'
;
import
'./hide.js'
;
import
'./show.js'
; declare module
'../shared/core.js'
{
interface
JQ
<
T = HTMLElement
> {
/** * 切换集合中所有元素的显示状态 *
@example
```js $('.box').toggle() ``` */
toggle():
this
; } }