mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Add intro.js
This commit is contained in:
parent
1cfc673e42
commit
abb433718e
71 changed files with 2775 additions and 2 deletions
13
node_modules/intro.js/src/util/getOffset.d.ts
generated
vendored
Normal file
13
node_modules/intro.js/src/util/getOffset.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Get an element position on the page relative to another element (or body)
|
||||
* Thanks to `meouw`: http://stackoverflow.com/a/442474/375966
|
||||
*
|
||||
* @api private
|
||||
* @returns Element's position info
|
||||
*/
|
||||
export default function getOffset(element: HTMLElement, relativeEl?: HTMLElement): {
|
||||
width: number;
|
||||
height: number;
|
||||
left: number;
|
||||
top: number;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue