commit
e8517338a9
11 changed files with 11 additions and 11 deletions
|
@ -60,7 +60,7 @@ These properties are rarely needed, but still they are the "most outer" geometry
|
|||
|
||||
The `offsetParent` is the nearest ancestor that is:
|
||||
|
||||
1. CSS-positioned (`position` is `absolute`, `relative` or `fixed`),
|
||||
1. CSS-positioned (`position` is `absolute`, `relative`, `fixed` or `sticky`),
|
||||
2. or `<td>`, `<th>`, `<table>`,
|
||||
2. or `<body>`.
|
||||
|
||||
|
|
|
@ -101,6 +101,6 @@ class HoverIntent {
|
|||
elem.removeEventListener('mousemove', this.onMouseMove);
|
||||
elem.removeEventListener('mouseover', this.onMouseOver);
|
||||
elem.removeEventListener('mouseout', this.onMouseOut);
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -45,6 +45,6 @@ class HoverIntent {
|
|||
|
||||
destroy() {
|
||||
/* your code to "disable" the functionality, remove all handlers */
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue