Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisShank/progressive-element
/ functions
Functions
10 in github.com/ChrisShank/progressive-element
⨍
Functions
10
◇
Types & classes
6
↓ 1 callers
Method
handleEvent
(event: Event)
src/progressive-element.ts:40
Method
connectedCallback
()
src/server-islands.ts:6
Method
constructor
()
src/progressive-element.ts:28
Function
findClosestIntention
( event: Event, modifier?: (event: Event) => string, prefix = 'on:' )
src/intentions.ts:13
Function
hydrateOnIdle
* Once the browser is idle, dynamically import custom elements with a `hydrate:idle` attribute. * @param customElementImports A record or custom elem
src/hydration.ts:10
Function
hydrateOnInteraction
* Once a custom element is clicked on, dynamically import the custom elements with a `hydrate:interaction` attribute. * @param customElementImports A
src/hydration.ts:54
Function
hydrateOnVisible
* Once a custom element becomes visible, dynamically import the custom elements with a `hydrate:visible` attribute. * @param customElementImports A r
src/hydration.ts:30
Function
keyboardModifiers
(event: Event)
src/intentions.ts:37
Function
listener
(e: MouseEvent)
src/hydration.ts:58
Method
register
* Register the custom element with the window. By default then name of the custom element is the kebab-case of the class name.
src/progressive-element.ts:18