diff --git a/package.json b/package.json index 9049d70..d0eacf3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "drab", "description": "A headless custom element library", - "version": "5.4.1", + "version": "5.4.2", "homepage": "https://drab.robino.dev", "license": "MIT", "author": { diff --git a/src/lib/docs/classes/animate.md b/src/lib/docs/classes/animate.md index 1673761..3b85ce8 100644 --- a/src/lib/docs/classes/animate.md +++ b/src/lib/docs/classes/animate.md @@ -56,7 +56,7 @@ Animations `options` can be set: #### Source -[src/package/animate/index.ts:39](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L39) +[src/package/animate/index.ts:39](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L39) --- @@ -74,7 +74,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -92,7 +92,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L46) +[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L46) ### event @@ -120,7 +120,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### keyframes @@ -132,7 +132,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L128) +[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L128) --- @@ -168,7 +168,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L76) +[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L76) ### connectedCallback() @@ -186,7 +186,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -204,7 +204,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -222,7 +222,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -257,7 +257,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -285,7 +285,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -305,7 +305,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/base/index.ts:150](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L150) +[src/package/base/index.ts:150](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L150) ### safeListener() @@ -340,7 +340,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -369,7 +369,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -401,4 +401,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/base.md b/src/lib/docs/classes/base.md index 772c1cd..776b837 100644 --- a/src/lib/docs/classes/base.md +++ b/src/lib/docs/classes/base.md @@ -47,7 +47,7 @@ Each element can have multiple `trigger`s, but will only have one `content`. #### Source -[src/package/base/index.ts:19](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L19) +[src/package/base/index.ts:19](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L19) --- @@ -61,7 +61,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -93,7 +93,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -111,7 +111,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -125,7 +125,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -139,7 +139,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -170,7 +170,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -194,7 +194,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -210,7 +210,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/base/index.ts:150](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L150) +[src/package/base/index.ts:150](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L150) ### safeListener() @@ -241,7 +241,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -266,7 +266,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -294,4 +294,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/breakpoint.md b/src/lib/docs/classes/breakpoint.md index 7d7dbb0..ea5496f 100644 --- a/src/lib/docs/classes/breakpoint.md +++ b/src/lib/docs/classes/breakpoint.md @@ -30,7 +30,7 @@ Provide alternate breakpoints by specifying `breakpoint` attributes: #### Source -[src/package/breakpoint/index.ts:27](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/breakpoint/index.ts#L27) +[src/package/breakpoint/index.ts:27](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/breakpoint/index.ts#L27) --- @@ -48,7 +48,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### breakpoints @@ -56,7 +56,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/breakpoint/index.ts:19](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/breakpoint/index.ts#L19) +[src/package/breakpoint/index.ts:19](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/breakpoint/index.ts#L19) --- @@ -74,7 +74,7 @@ finds the current breakpoint #### Source -[src/package/breakpoint/index.ts:51](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/breakpoint/index.ts#L51) +[src/package/breakpoint/index.ts:51](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/breakpoint/index.ts#L51) ### event @@ -102,7 +102,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -124,7 +124,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -142,7 +142,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -160,7 +160,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -195,7 +195,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -223,7 +223,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -243,7 +243,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/breakpoint/index.ts:63](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/breakpoint/index.ts#L63) +[src/package/breakpoint/index.ts:63](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/breakpoint/index.ts#L63) ### safeListener() @@ -278,7 +278,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -307,7 +307,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -339,4 +339,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/contextmenu.md b/src/lib/docs/classes/contextmenu.md index 00a48bd..a8a8030 100644 --- a/src/lib/docs/classes/contextmenu.md +++ b/src/lib/docs/classes/contextmenu.md @@ -24,7 +24,7 @@ Displays content when the `trigger` element is right clicked, or long pressed on #### Source -[src/package/contextmenu/index.ts:13](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L13) +[src/package/contextmenu/index.ts:13](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L13) --- @@ -42,7 +42,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### #touchTimer @@ -52,7 +52,7 @@ Tracks the long press duration on mobile. #### Source -[src/package/contextmenu/index.ts:11](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L11) +[src/package/contextmenu/index.ts:11](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L11) --- @@ -74,7 +74,7 @@ Sets the context menu's `style.left` and `style.top` position. #### Source -[src/package/contextmenu/index.ts:18](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L18) +[src/package/contextmenu/index.ts:18](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L18) ### animationOptions @@ -88,7 +88,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L46) +[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L46) ### event @@ -116,7 +116,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### keyframes @@ -128,7 +128,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L128) +[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L128) --- @@ -168,7 +168,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L76) +[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L76) ### connectedCallback() @@ -186,7 +186,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -204,7 +204,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -222,7 +222,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -257,7 +257,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -285,7 +285,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### hide() @@ -297,7 +297,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/contextmenu/index.ts:57](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L57) +[src/package/contextmenu/index.ts:57](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L57) ### mount() @@ -317,7 +317,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/contextmenu/index.ts:66](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L66) +[src/package/contextmenu/index.ts:66](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L66) ### safeListener() @@ -352,7 +352,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### show() @@ -368,7 +368,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/contextmenu/index.ts:23](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L23) +[src/package/contextmenu/index.ts:23](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L23) ### swapContent() @@ -397,7 +397,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -429,4 +429,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/copy.md b/src/lib/docs/classes/copy.md index db89848..62c32c3 100644 --- a/src/lib/docs/classes/copy.md +++ b/src/lib/docs/classes/copy.md @@ -25,7 +25,7 @@ to copy text. #### Source -[src/package/copy/index.ts:11](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/copy/index.ts#L11) +[src/package/copy/index.ts:11](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/copy/index.ts#L11) --- @@ -43,7 +43,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -75,7 +75,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### value @@ -101,7 +101,7 @@ The value to copy or share. #### Source -[src/package/base/copy/index.ts:13](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/copy/index.ts#L13) +[src/package/base/copy/index.ts:13](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/copy/index.ts#L13) --- @@ -123,7 +123,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### copy() @@ -147,7 +147,7 @@ The `text` to share #### Source -[src/package/base/copy/index.ts:25](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/copy/index.ts#L25) +[src/package/base/copy/index.ts:25](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/copy/index.ts#L25) ### destroy() @@ -165,7 +165,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -183,7 +183,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -218,7 +218,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -246,7 +246,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -262,7 +262,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/copy/index.ts:15](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/copy/index.ts#L15) +[src/package/copy/index.ts:15](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/copy/index.ts#L15) ### safeListener() @@ -297,7 +297,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -326,7 +326,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -358,4 +358,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/details.md b/src/lib/docs/classes/details.md index 05af0ca..16221ec 100644 --- a/src/lib/docs/classes/details.md +++ b/src/lib/docs/classes/details.md @@ -30,7 +30,7 @@ instead. #### Source -[src/package/details/index.ts:16](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L16) +[src/package/details/index.ts:16](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L16) --- @@ -48,7 +48,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -66,7 +66,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L46) +[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L46) ### details @@ -78,7 +78,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/details/index.ts:20](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L20) +[src/package/details/index.ts:20](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L20) ### event @@ -106,7 +106,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### keyframes @@ -118,7 +118,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L128) +[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L128) --- @@ -158,7 +158,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L76) +[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L76) ### close() @@ -172,7 +172,7 @@ Closes details with animation. #### Source -[src/package/details/index.ts:33](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L33) +[src/package/details/index.ts:33](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L33) ### connectedCallback() @@ -190,7 +190,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -208,7 +208,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -226,7 +226,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -261,7 +261,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -289,7 +289,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -309,7 +309,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/details/index.ts:48](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L48) +[src/package/details/index.ts:48](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L48) ### open() @@ -321,7 +321,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/details/index.ts:27](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L27) +[src/package/details/index.ts:27](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L27) ### safeListener() @@ -356,7 +356,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -385,7 +385,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### toggle() @@ -397,7 +397,7 @@ Wait time before swapping back #### Source -[src/package/details/index.ts:40](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L40) +[src/package/details/index.ts:40](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L40) ### triggerListener() @@ -429,4 +429,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/dialog.md b/src/lib/docs/classes/dialog.md index 1679f7d..a2c721e 100644 --- a/src/lib/docs/classes/dialog.md +++ b/src/lib/docs/classes/dialog.md @@ -34,7 +34,7 @@ is open. #### Source -[src/package/dialog/index.ts:27](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L27) +[src/package/dialog/index.ts:27](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L27) --- @@ -48,7 +48,7 @@ The initial margin-right value of the body element. #### Source -[src/package/dialog/index.ts:23](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L23) +[src/package/dialog/index.ts:23](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L23) ### #listenerController @@ -62,50 +62,12 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- ## Accessors -### #bodyMarginRight - -> `set` `private` **#bodyMarginRight**(`margin`): `void` - -#### Parameters - -• **margin**: `number` - -#### Source - -[src/package/dialog/index.ts:41](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L41) - -### #bodyOverflow - -> `set` `private` **#bodyOverflow**(`overflow`): `void` - -#### Parameters - -• **overflow**: `string` - -#### Source - -[src/package/dialog/index.ts:45](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L45) - -### #scrollbarWidth - -> `get` `private` **#scrollbarWidth**(): `number` - -The width of the scrollbar---used for when the scroll is removed. - -#### Returns - -`number` - -#### Source - -[src/package/dialog/index.ts:37](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L37) - ### animationOptions > `get` **animationOptions**(): `KeyframeAnimationOptions` @@ -118,7 +80,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L46) +[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L46) ### dialog @@ -132,7 +94,7 @@ The `HTMLDialogElement` within the element. #### Source -[src/package/dialog/index.ts:32](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L32) +[src/package/dialog/index.ts:32](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L32) ### event @@ -160,7 +122,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### keyframes @@ -172,7 +134,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L128) +[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L128) --- @@ -194,7 +156,7 @@ Remove scroll from the body when open with the `remove-body-scroll` attribute. #### Source -[src/package/dialog/index.ts:50](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L50) +[src/package/dialog/index.ts:37](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L37) ### animateElement() @@ -230,7 +192,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L76) +[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L76) ### close() @@ -244,7 +206,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/dialog/index.ts:67](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L67) +[src/package/dialog/index.ts:59](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L59) ### connectedCallback() @@ -262,7 +224,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -280,7 +242,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -298,7 +260,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -333,7 +295,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -361,7 +323,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -381,7 +343,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/dialog/index.ts:83](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L83) +[src/package/dialog/index.ts:75](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L75) ### safeListener() @@ -416,7 +378,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### show() @@ -430,7 +392,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/dialog/index.ts:60](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L60) +[src/package/dialog/index.ts:52](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L52) ### swapContent() @@ -459,7 +421,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### toggle() @@ -473,7 +435,7 @@ Wait time before swapping back #### Source -[src/package/dialog/index.ts:78](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L78) +[src/package/dialog/index.ts:70](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L70) ### triggerListener() @@ -505,4 +467,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/editor.md b/src/lib/docs/classes/editor.md index 4c77dbf..ff2620c 100644 --- a/src/lib/docs/classes/editor.md +++ b/src/lib/docs/classes/editor.md @@ -50,7 +50,7 @@ Other features: #### Source -[src/package/editor/index.ts:63](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L63) +[src/package/editor/index.ts:63](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L63) --- @@ -68,7 +68,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### #openChars @@ -78,7 +78,7 @@ Array of keyPair characters that have been opened. #### Source -[src/package/editor/index.ts:51](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L51) +[src/package/editor/index.ts:51](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L51) ### keyPairs @@ -92,7 +92,7 @@ The characters that will be automatically closed when typed. #### Source -[src/package/editor/index.ts:54](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L54) +[src/package/editor/index.ts:54](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L54) --- @@ -110,7 +110,7 @@ An array of `ContentElement`s derived from each `trigger`'s data attributes. #### Source -[src/package/editor/index.ts:89](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L89) +[src/package/editor/index.ts:89](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L89) ### #currentBlock @@ -127,7 +127,7 @@ An array of `ContentElement`s derived from each `trigger`'s data attributes. #### Source -[src/package/editor/index.ts:103](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L103) +[src/package/editor/index.ts:103](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L103) ### #selectionEnd @@ -141,7 +141,7 @@ Gets the end position of the selection #### Source -[src/package/editor/index.ts:116](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L116) +[src/package/editor/index.ts:116](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L116) ### #selectionStart @@ -155,7 +155,7 @@ Gets the start position of the selection. #### Source -[src/package/editor/index.ts:121](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L121) +[src/package/editor/index.ts:121](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L121) ### event @@ -183,7 +183,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### text @@ -203,7 +203,7 @@ The current `value` of the `textarea`. #### Source -[src/package/editor/index.ts:80](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L80) +[src/package/editor/index.ts:80](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L80) ### textArea @@ -217,7 +217,7 @@ The `content`, expects an `HTMLTextAreaElement`. #### Source -[src/package/editor/index.ts:75](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L75) +[src/package/editor/index.ts:75](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L75) --- @@ -242,7 +242,7 @@ selected content element #### Source -[src/package/editor/index.ts:227](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L227) +[src/package/editor/index.ts:227](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L227) ### #correctFollowing() @@ -280,7 +280,7 @@ if following lines should be decremented instead of incremented #### Source -[src/package/editor/index.ts:311](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L311) +[src/package/editor/index.ts:311](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L311) ### #getContentElement() @@ -300,7 +300,7 @@ The ContentElement based on the `trigger`'s attributes. #### Source -[src/package/editor/index.ts:134](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L134) +[src/package/editor/index.ts:134](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L134) ### #getLineInfo() @@ -332,7 +332,7 @@ const { lines, lineNumber, columnNumber } = getLineInfo(); #### Source -[src/package/editor/index.ts:269](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L269) +[src/package/editor/index.ts:269](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L269) ### #getRepeat() @@ -353,7 +353,7 @@ what is found, or the empty string #### Source -[src/package/editor/index.ts:242](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L242) +[src/package/editor/index.ts:242](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L242) ### #insertText() @@ -382,7 +382,7 @@ current end position of the selection #### Source -[src/package/editor/index.ts:149](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L149) +[src/package/editor/index.ts:149](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L149) ### #setCaretPosition() @@ -410,7 +410,7 @@ current end position of the selection #### Source -[src/package/editor/index.ts:191](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L191) +[src/package/editor/index.ts:191](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L191) ### #setSelectionRange() @@ -430,7 +430,7 @@ Sets the current cursor selection in the `textarea` #### Source -[src/package/editor/index.ts:126](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L126) +[src/package/editor/index.ts:126](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L126) ### connectedCallback() @@ -448,7 +448,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -466,7 +466,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -484,7 +484,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -519,7 +519,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -547,7 +547,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -567,7 +567,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/editor/index.ts:338](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L338) +[src/package/editor/index.ts:338](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L338) ### safeListener() @@ -602,7 +602,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -631,7 +631,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -663,4 +663,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/fullscreen.md b/src/lib/docs/classes/fullscreen.md index 570d8f5..fa24a66 100644 --- a/src/lib/docs/classes/fullscreen.md +++ b/src/lib/docs/classes/fullscreen.md @@ -26,7 +26,7 @@ Disables the `trigger` if fullscreen is not supported. #### Source -[src/package/fullscreen/index.ts:12](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L12) +[src/package/fullscreen/index.ts:12](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L12) --- @@ -44,7 +44,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -76,7 +76,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -98,7 +98,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -116,7 +116,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -134,7 +134,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### fullscreenSupported() @@ -148,7 +148,7 @@ Called when custom element is removed from the page. #### Source -[src/package/fullscreen/index.ts:26](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L26) +[src/package/fullscreen/index.ts:26](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L26) ### getContent() @@ -183,7 +183,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -211,7 +211,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### isFullscreen() @@ -225,7 +225,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/fullscreen/index.ts:19](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L19) +[src/package/fullscreen/index.ts:19](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L19) ### mount() @@ -245,7 +245,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/fullscreen/index.ts:44](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L44) +[src/package/fullscreen/index.ts:44](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L44) ### safeListener() @@ -280,7 +280,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -309,7 +309,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### toggle() @@ -323,7 +323,7 @@ Enables or disables fullscreen mode based on the current state. #### Source -[src/package/fullscreen/index.ts:32](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L32) +[src/package/fullscreen/index.ts:32](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L32) ### triggerListener() @@ -355,4 +355,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/intersect.md b/src/lib/docs/classes/intersect.md index 084e91c..307c7d7 100644 --- a/src/lib/docs/classes/intersect.md +++ b/src/lib/docs/classes/intersect.md @@ -30,7 +30,7 @@ Specify a `threshold` between `0` and `1` to determine how much of the `trigger` #### Source -[src/package/intersect/index.ts:25](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L25) +[src/package/intersect/index.ts:25](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L25) --- @@ -44,7 +44,7 @@ Functions to run when the `trigger` exits. #### Source -[src/package/intersect/index.ts:23](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L23) +[src/package/intersect/index.ts:23](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L23) ### #intersectCallbacks @@ -54,7 +54,7 @@ Functions to run when the `trigger` intersects. #### Source -[src/package/intersect/index.ts:20](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L20) +[src/package/intersect/index.ts:20](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L20) ### #listenerController @@ -68,7 +68,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -92,7 +92,7 @@ How much of the `trigger` should be visible for the intersection to occur. For e #### Source -[src/package/intersect/index.ts:34](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L34) +[src/package/intersect/index.ts:34](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L34) ### event @@ -120,7 +120,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -142,7 +142,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -160,7 +160,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -178,7 +178,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -213,7 +213,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -241,7 +241,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -261,7 +261,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/intersect/index.ts:52](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L52) +[src/package/intersect/index.ts:52](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L52) ### onExit() @@ -279,7 +279,7 @@ Runs when `trigger` exits. #### Source -[src/package/intersect/index.ts:48](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L48) +[src/package/intersect/index.ts:48](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L48) ### onIntersect() @@ -297,7 +297,7 @@ Runs when `trigger` intersects. #### Source -[src/package/intersect/index.ts:41](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L41) +[src/package/intersect/index.ts:41](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L41) ### safeListener() @@ -332,7 +332,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -361,7 +361,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -393,4 +393,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/popover.md b/src/lib/docs/classes/popover.md index 47b4248..1f2dc00 100644 --- a/src/lib/docs/classes/popover.md +++ b/src/lib/docs/classes/popover.md @@ -27,7 +27,7 @@ currently [only available in Chrome](https://developer.chrome.com/blog/introduci #### Source -[src/package/popover/index.ts:13](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L13) +[src/package/popover/index.ts:13](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L13) --- @@ -45,7 +45,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -63,7 +63,7 @@ An object containing the values of each `animation-option` attribute #### Source -[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L46) +[src/package/animate/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L46) ### event @@ -91,7 +91,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### keyframes @@ -103,7 +103,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L128) +[src/package/animate/index.ts:128](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L128) ### open @@ -124,7 +124,7 @@ automatically on the element like with the `HTMLDialogElement`. #### Source -[src/package/popover/index.ts:21](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L21) +[src/package/popover/index.ts:21](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L21) --- @@ -164,7 +164,7 @@ Animates a particular element using the web animations API. #### Source -[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L76) +[src/package/animate/index.ts:76](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L76) ### connectedCallback() @@ -182,7 +182,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -200,7 +200,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -218,7 +218,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -253,7 +253,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -281,7 +281,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### hide() @@ -295,7 +295,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/popover/index.ts:41](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L41) +[src/package/popover/index.ts:41](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L41) ### mount() @@ -315,7 +315,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/popover/index.ts:57](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L57) +[src/package/popover/index.ts:57](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L57) ### safeListener() @@ -350,7 +350,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### show() @@ -364,7 +364,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/popover/index.ts:34](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L34) +[src/package/popover/index.ts:34](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L34) ### swapContent() @@ -393,7 +393,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### toggle() @@ -407,7 +407,7 @@ Wait time before swapping back #### Source -[src/package/popover/index.ts:52](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L52) +[src/package/popover/index.ts:52](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L52) ### triggerListener() @@ -439,4 +439,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/prefetch.md b/src/lib/docs/classes/prefetch.md index 716ce5c..d164fa1 100644 --- a/src/lib/docs/classes/prefetch.md +++ b/src/lib/docs/classes/prefetch.md @@ -49,7 +49,7 @@ This element can be deprecated once the Speculation Rules API is supported acros #### Source -[src/package/prefetch/index.ts:80](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L80) +[src/package/prefetch/index.ts:80](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L80) --- @@ -67,7 +67,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### #prefetchedUrls @@ -75,7 +75,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/prefetch/index.ts:78](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L78) +[src/package/prefetch/index.ts:78](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L78) --- @@ -93,7 +93,7 @@ Prerender with the Speculation Rules API. #### Source -[src/package/prefetch/index.ts:90](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L90) +[src/package/prefetch/index.ts:90](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L90) ### #strategy @@ -107,7 +107,7 @@ When to prefetch the url. #### Source -[src/package/prefetch/index.ts:85](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L85) +[src/package/prefetch/index.ts:85](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L85) ### #url @@ -121,7 +121,7 @@ When to prefetch the url. #### Source -[src/package/prefetch/index.ts:95](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L95) +[src/package/prefetch/index.ts:95](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L95) ### event @@ -149,7 +149,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -181,7 +181,7 @@ Uses the Speculation Rules API when supported to prerender on the client. #### Source -[src/package/prefetch/index.ts:104](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L104) +[src/package/prefetch/index.ts:104](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L104) ### connectedCallback() @@ -199,7 +199,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -217,7 +217,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -235,7 +235,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -270,7 +270,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -298,7 +298,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -318,7 +318,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/prefetch/index.ts:241](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L241) +[src/package/prefetch/index.ts:241](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L241) ### prefetch() @@ -358,7 +358,7 @@ Determines when the prefetch takes place. #### Source -[src/package/prefetch/index.ts:163](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L163) +[src/package/prefetch/index.ts:163](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L163) ### safeListener() @@ -393,7 +393,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -422,7 +422,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -454,4 +454,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/share.md b/src/lib/docs/classes/share.md index 373a105..7e6dbe4 100644 --- a/src/lib/docs/classes/share.md +++ b/src/lib/docs/classes/share.md @@ -24,7 +24,7 @@ Uses the [Navigator API](https://developer.mozilla.org/en-US/docs/Web/API/Naviga #### Source -[src/package/share/index.ts:10](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/share/index.ts#L10) +[src/package/share/index.ts:10](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/share/index.ts#L10) --- @@ -42,7 +42,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -74,7 +74,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### value @@ -100,7 +100,7 @@ The value to copy or share. #### Source -[src/package/base/copy/index.ts:13](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/copy/index.ts#L13) +[src/package/base/copy/index.ts:13](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/copy/index.ts#L13) --- @@ -122,7 +122,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### copy() @@ -146,7 +146,7 @@ The `text` to share #### Source -[src/package/base/copy/index.ts:25](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/copy/index.ts#L25) +[src/package/base/copy/index.ts:25](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/copy/index.ts#L25) ### destroy() @@ -164,7 +164,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -182,7 +182,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -217,7 +217,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -245,7 +245,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -261,7 +261,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/share/index.ts:35](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/share/index.ts#L35) +[src/package/share/index.ts:35](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/share/index.ts#L35) ### safeListener() @@ -296,7 +296,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### share() @@ -319,7 +319,7 @@ depending on browser support. #### Source -[src/package/share/index.ts:20](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/share/index.ts#L20) +[src/package/share/index.ts:20](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/share/index.ts#L20) ### swapContent() @@ -348,7 +348,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -380,4 +380,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/tablesort.md b/src/lib/docs/classes/tablesort.md index 51c3c94..81dff15 100644 --- a/src/lib/docs/classes/tablesort.md +++ b/src/lib/docs/classes/tablesort.md @@ -34,7 +34,7 @@ datatype `number` or `boolean`, set `data-type="number"` on the corresponding #### Source -[src/package/tablesort/index.ts:20](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/tablesort/index.ts#L20) +[src/package/tablesort/index.ts:20](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/tablesort/index.ts#L20) --- @@ -52,7 +52,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) --- @@ -84,7 +84,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -108,7 +108,7 @@ true if ascending, false if descending #### Source -[src/package/tablesort/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/tablesort/index.ts#L30) +[src/package/tablesort/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/tablesort/index.ts#L30) ### connectedCallback() @@ -126,7 +126,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -144,7 +144,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -162,7 +162,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -197,7 +197,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -225,7 +225,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -245,7 +245,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/tablesort/index.ts:49](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/tablesort/index.ts#L49) +[src/package/tablesort/index.ts:49](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/tablesort/index.ts#L49) ### safeListener() @@ -280,7 +280,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -309,7 +309,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -341,4 +341,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/wakelock.md b/src/lib/docs/classes/wakelock.md index cf42585..b7a52d1 100644 --- a/src/lib/docs/classes/wakelock.md +++ b/src/lib/docs/classes/wakelock.md @@ -34,7 +34,7 @@ #### Source -[src/package/wakelock/index.ts:25](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L25) +[src/package/wakelock/index.ts:25](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L25) --- @@ -52,7 +52,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### wakeLock @@ -60,7 +60,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/wakelock/index.ts:23](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L23) +[src/package/wakelock/index.ts:23](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L23) --- @@ -78,7 +78,7 @@ the `auto-lock` attribute controls whether an active WakeLock should be restored #### Source -[src/package/wakelock/index.ts:37](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L37) +[src/package/wakelock/index.ts:37](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L37) ### event @@ -106,7 +106,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) --- @@ -124,7 +124,7 @@ If the WakeLock API is supported on the user's device. #### Source -[src/package/wakelock/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L30) +[src/package/wakelock/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L30) ### connectedCallback() @@ -142,7 +142,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -160,7 +160,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/wakelock/index.ts:105](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L105) +[src/package/wakelock/index.ts:105](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L105) ### disconnectedCallback() @@ -178,7 +178,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -213,7 +213,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -241,7 +241,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -261,7 +261,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/wakelock/index.ts:67](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L67) +[src/package/wakelock/index.ts:67](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L67) ### release() @@ -275,7 +275,7 @@ Releases the WakeLock, sets `this.wakeLock` to null. #### Source -[src/package/wakelock/index.ts:62](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L62) +[src/package/wakelock/index.ts:62](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L62) ### request() @@ -289,7 +289,7 @@ Requests WakeLock on the current page. #### Source -[src/package/wakelock/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L42) +[src/package/wakelock/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L42) ### safeListener() @@ -324,7 +324,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -353,7 +353,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -385,4 +385,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/classes/youtube.md b/src/lib/docs/classes/youtube.md index b71c716..d45c2d3 100644 --- a/src/lib/docs/classes/youtube.md +++ b/src/lib/docs/classes/youtube.md @@ -24,7 +24,7 @@ Embeds a YouTube video iframe into a website with the video uid, using www.youtu #### Source -[src/package/youtube/index.ts:12](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L12) +[src/package/youtube/index.ts:12](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L12) --- @@ -42,7 +42,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L17) +[src/package/base/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L17) ### observedAttributes @@ -50,7 +50,7 @@ To clean up event listeners added to `document` when the element is removed. #### Source -[src/package/youtube/index.ts:10](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L10) +[src/package/youtube/index.ts:10](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L10) --- @@ -74,7 +74,7 @@ Whether the video should start playing when loaded. #### Source -[src/package/youtube/index.ts:22](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L22) +[src/package/youtube/index.ts:22](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L22) ### event @@ -102,7 +102,7 @@ keyof `HTMLElementEventMap` #### Source -[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L30) +[src/package/base/index.ts:30](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L30) ### iframe @@ -116,7 +116,7 @@ The `HTMLIFrameElement` within the element. #### Source -[src/package/youtube/index.ts:17](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L17) +[src/package/youtube/index.ts:17](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L17) ### start @@ -136,7 +136,7 @@ The start time of the video (seconds). #### Source -[src/package/youtube/index.ts:32](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L32) +[src/package/youtube/index.ts:32](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L32) ### uid @@ -159,7 +159,7 @@ the `uid` is `"gouiY85kD2o"`. #### Source -[src/package/youtube/index.ts:46](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L46) +[src/package/youtube/index.ts:46](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L46) --- @@ -175,7 +175,7 @@ the `uid` is `"gouiY85kD2o"`. #### Source -[src/package/youtube/index.ts:62](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L62) +[src/package/youtube/index.ts:62](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L62) ### connectedCallback() @@ -193,7 +193,7 @@ Called when custom element is added to the page. #### Source -[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L155) +[src/package/base/index.ts:155](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L155) ### destroy() @@ -211,7 +211,7 @@ Passed into `disconnectedCallback`, since `Base` needs to run `disconnectedCallb #### Source -[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L162) +[src/package/base/index.ts:162](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L162) ### disconnectedCallback() @@ -229,7 +229,7 @@ Called when custom element is removed from the page. #### Source -[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L167) +[src/package/base/index.ts:167](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L167) ### getContent() @@ -264,7 +264,7 @@ this.querySelector("[data-content]"); #### Source -[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L55) +[src/package/base/index.ts:55](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L55) ### getTrigger() @@ -292,7 +292,7 @@ this.querySelectorAll("[data-trigger]"); #### Source -[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L42) +[src/package/base/index.ts:42](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L42) ### mount() @@ -312,7 +312,7 @@ The reason for this is to make these elements work better with frameworks like S #### Source -[src/package/youtube/index.ts:56](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L56) +[src/package/youtube/index.ts:56](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L56) ### safeListener() @@ -347,7 +347,7 @@ element is removed from the DOM, these event listeners are cleaned up. #### Source -[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L118) +[src/package/base/index.ts:118](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L118) ### swapContent() @@ -376,7 +376,7 @@ Wait time before swapping back #### Source -[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L72) +[src/package/base/index.ts:72](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L72) ### triggerListener() @@ -408,4 +408,4 @@ Listener to attach to all of the `trigger` elements. #### Source -[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/base/index.ts#L135) +[src/package/base/index.ts:135](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/base/index.ts#L135) diff --git a/src/lib/docs/type-aliases/AnimateAttributes.md b/src/lib/docs/type-aliases/AnimateAttributes.md index cf18b39..6f99d33 100644 --- a/src/lib/docs/type-aliases/AnimateAttributes.md +++ b/src/lib/docs/type-aliases/AnimateAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/animate/index.ts:8](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/animate/index.ts#L8) +[src/package/animate/index.ts:8](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/animate/index.ts#L8) diff --git a/src/lib/docs/type-aliases/BreakpointAttributes.md b/src/lib/docs/type-aliases/BreakpointAttributes.md index c169eb7..2f26f7e 100644 --- a/src/lib/docs/type-aliases/BreakpointAttributes.md +++ b/src/lib/docs/type-aliases/BreakpointAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/breakpoint/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/breakpoint/index.ts#L4) +[src/package/breakpoint/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/breakpoint/index.ts#L4) diff --git a/src/lib/docs/type-aliases/ContextMenuAttributes.md b/src/lib/docs/type-aliases/ContextMenuAttributes.md index 541aae8..5e44fe3 100644 --- a/src/lib/docs/type-aliases/ContextMenuAttributes.md +++ b/src/lib/docs/type-aliases/ContextMenuAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/contextmenu/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/contextmenu/index.ts#L4) +[src/package/contextmenu/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/contextmenu/index.ts#L4) diff --git a/src/lib/docs/type-aliases/CopyAttributes.md b/src/lib/docs/type-aliases/CopyAttributes.md index 01f20b2..97202d1 100644 --- a/src/lib/docs/type-aliases/CopyAttributes.md +++ b/src/lib/docs/type-aliases/CopyAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/copy/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/copy/index.ts#L4) +[src/package/copy/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/copy/index.ts#L4) diff --git a/src/lib/docs/type-aliases/DetailsAttributes.md b/src/lib/docs/type-aliases/DetailsAttributes.md index 3c352ec..a6fbefd 100644 --- a/src/lib/docs/type-aliases/DetailsAttributes.md +++ b/src/lib/docs/type-aliases/DetailsAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/details/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/details/index.ts#L4) +[src/package/details/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/details/index.ts#L4) diff --git a/src/lib/docs/type-aliases/DialogAttributes.md b/src/lib/docs/type-aliases/DialogAttributes.md index 86b01c9..46d7706 100644 --- a/src/lib/docs/type-aliases/DialogAttributes.md +++ b/src/lib/docs/type-aliases/DialogAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/dialog/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/dialog/index.ts#L4) +[src/package/dialog/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/dialog/index.ts#L4) diff --git a/src/lib/docs/type-aliases/EditorAttributes.md b/src/lib/docs/type-aliases/EditorAttributes.md index 1da8ca0..44973f9 100644 --- a/src/lib/docs/type-aliases/EditorAttributes.md +++ b/src/lib/docs/type-aliases/EditorAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/editor/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/editor/index.ts#L4) +[src/package/editor/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/editor/index.ts#L4) diff --git a/src/lib/docs/type-aliases/FullscreenAttributes.md b/src/lib/docs/type-aliases/FullscreenAttributes.md index 0c29e75..4fc8697 100644 --- a/src/lib/docs/type-aliases/FullscreenAttributes.md +++ b/src/lib/docs/type-aliases/FullscreenAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/fullscreen/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/fullscreen/index.ts#L4) +[src/package/fullscreen/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/fullscreen/index.ts#L4) diff --git a/src/lib/docs/type-aliases/IntersectAttributes.md b/src/lib/docs/type-aliases/IntersectAttributes.md index 58332b2..2c7adcd 100644 --- a/src/lib/docs/type-aliases/IntersectAttributes.md +++ b/src/lib/docs/type-aliases/IntersectAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/intersect/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/intersect/index.ts#L4) +[src/package/intersect/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/intersect/index.ts#L4) diff --git a/src/lib/docs/type-aliases/PopoverAttributes.md b/src/lib/docs/type-aliases/PopoverAttributes.md index 1c4cd9b..c2ca859 100644 --- a/src/lib/docs/type-aliases/PopoverAttributes.md +++ b/src/lib/docs/type-aliases/PopoverAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/popover/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/popover/index.ts#L4) +[src/package/popover/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/popover/index.ts#L4) diff --git a/src/lib/docs/type-aliases/PrefetchAttributes.md b/src/lib/docs/type-aliases/PrefetchAttributes.md index 2dc614f..2b99a31 100644 --- a/src/lib/docs/type-aliases/PrefetchAttributes.md +++ b/src/lib/docs/type-aliases/PrefetchAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/prefetch/index.ts:6](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/prefetch/index.ts#L6) +[src/package/prefetch/index.ts:6](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/prefetch/index.ts#L6) diff --git a/src/lib/docs/type-aliases/ShareAttributes.md b/src/lib/docs/type-aliases/ShareAttributes.md index 036f559..cf51055 100644 --- a/src/lib/docs/type-aliases/ShareAttributes.md +++ b/src/lib/docs/type-aliases/ShareAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/share/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/share/index.ts#L4) +[src/package/share/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/share/index.ts#L4) diff --git a/src/lib/docs/type-aliases/TableSortAttributes.md b/src/lib/docs/type-aliases/TableSortAttributes.md index f295a9c..f989bb4 100644 --- a/src/lib/docs/type-aliases/TableSortAttributes.md +++ b/src/lib/docs/type-aliases/TableSortAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/tablesort/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/tablesort/index.ts#L4) +[src/package/tablesort/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/tablesort/index.ts#L4) diff --git a/src/lib/docs/type-aliases/WakeLockAttributes.md b/src/lib/docs/type-aliases/WakeLockAttributes.md index 01e83d0..42b0dbf 100644 --- a/src/lib/docs/type-aliases/WakeLockAttributes.md +++ b/src/lib/docs/type-aliases/WakeLockAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/wakelock/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/wakelock/index.ts#L4) +[src/package/wakelock/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/wakelock/index.ts#L4) diff --git a/src/lib/docs/type-aliases/YouTubeAttributes.md b/src/lib/docs/type-aliases/YouTubeAttributes.md index c952551..8767b54 100644 --- a/src/lib/docs/type-aliases/YouTubeAttributes.md +++ b/src/lib/docs/type-aliases/YouTubeAttributes.md @@ -8,4 +8,4 @@ ## Source -[src/package/youtube/index.ts:4](https://github.com/rossrobino/components/blob/33c45b8385b046591d3902fc8e91aef56864abde/src/package/youtube/index.ts#L4) +[src/package/youtube/index.ts:4](https://github.com/rossrobino/components/blob/48c98b10e173fadbab032543d3a85f26875ed206/src/package/youtube/index.ts#L4) diff --git a/src/package/dialog/index.ts b/src/package/dialog/index.ts index b9d6f0f..7830bee 100644 --- a/src/package/dialog/index.ts +++ b/src/package/dialog/index.ts @@ -33,26 +33,18 @@ export class Dialog extends Animate { return this.getContent(HTMLDialogElement); } - /** The width of the scrollbar---used for when the scroll is removed. */ - get #scrollbarWidth() { - return window.innerWidth - document.documentElement.clientWidth; - } - - set #bodyMarginRight(margin: number) { - document.body.style.marginRight = `${margin}px`; - } - - set #bodyOverflow(overflow: string) { - document.body.style.overflow = overflow; - } - /** Remove scroll from the body when open with the `remove-body-scroll` attribute. */ #toggleBodyScroll(show: boolean) { if (this.hasAttribute("remove-body-scroll")) { - this.#bodyMarginRight = show - ? this.#initialBodyMarginRight + this.#scrollbarWidth - : this.#initialBodyMarginRight; - this.#bodyOverflow = show ? "hidden" : ""; + document.body.style.marginRight = `${ + show + ? this.#initialBodyMarginRight + + // scrollbar width + window.innerWidth - + document.documentElement.clientWidth + : this.#initialBodyMarginRight + }px`; + document.body.style.overflow = show ? "hidden" : ""; } }