A button to share app state as compressed URL and recover it.
npm i button-share
|
pnpm add button-share
|
yarn add button-share
|
} & __module & {
},
"transition"
>> # context
src/sigl/dist/types/sigl.d.ts#L26 ContextClass<ButtonShareElement & JsxContext<ButtonShareElement> & Omit<{
<T>(ctor) =>
-
CleanClass<T>
<T>(ctx) =>
-
Wrapper<T>
},
"transition"
>> # onmounted
EventHandler<ButtonShareElement, CustomEvent<any>>
# onopened
EventHandler<ButtonShareElement, CustomEvent<{
}>>
# onready
EventHandler<ButtonShareElement, CustomEvent<any>>
# onunmounted
EventHandler<ButtonShareElement, CustomEvent<any>>
# created
(ctx)
# ctx
Context<ButtonShareElement & JsxContext<ButtonShareElement> & Omit<{
<T>(ctor) =>
-
CleanClass<T>
<T>(ctx) =>
-
Wrapper<T>
},
"transition"
>> created(ctx) =>
- void
# mounted
($)
src/button-share.ts#L26
# $
Context<ButtonShareElement & JsxContext<ButtonShareElement> & Omit<{
<T>(ctor) =>
-
CleanClass<T>
<T>(ctx) =>
-
Wrapper<T>
},
"transition"
>> mounted($) =>
- void
# on
(name)
on<K>(name) =>
-
On<Fn<[ EventHandler<ButtonShareElement, LifecycleEvents & ButtonShareEvents [K]> ], Off>>
# toJSON
()
toJSON() =>
-
Pick<ButtonShareElement, keyof ButtonShareElement>
- sigl by stagas – Web framework
- urlsafe-lzma by adamrutter – URL-safe LZMA compression
All contributions are welcome!