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
/
offsetParent.d.ts
17 lines
(16 loc)
•
422 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
'./css.js'
;
import
'./map.js'
; declare module
'../shared/core.js'
{
interface
JQ
<
T = HTMLElement
> {
/** * 返回集合中第一个元素的用于定位的父元素。 * * 即父元素中第一个 `position` 为 `relative`, `absolute` 或 `fixed` 的元素。 *
@example
```js $('.box').offsetParent() ``` */
offsetParent():
this
; } }