A library of commonly used JavaScript tools and helpers by Becklyn
BSD-3-CLAUSE License
Bot releases are visible (Hide)
isOnMobileDevice
, which tries its best to detect whether the current user is running on a mobile device.isOnMobileDevice
5d0d23aPublished by keichinger about 3 years ago
LocalRouter
route parameter types: nullableStringParameter
and nullableNumberParameter
.LocalRouter
route parameter types: nullableStringParameter
and nullableNumberParameter
. 5594fc2Published by keichinger over 3 years ago
Add mountDataContainer
and mountLazyDataContainer
, which mounts on top of a data container (<script type="application/json">{...}</script>
),
which is parsed and passed in as the very first argument of the mountable data container function.
Note: The mountable data container function does not receive a reference to the data container. It is intended to work independent of its data container.
mountDataContainer
and mountLazyDataContainer
f4c4eebPublished by keichinger over 3 years ago
useSortable
.useSortable
b88524fPublished by keichinger about 4 years ago
mountJsxAndWrap
function.mountJsxAndWrap
function 5b8963fLocalRouter
must keep existing query parameters to not break any pages.LocalRouter
must keep existing query parameters to not break any pages 2d006c9escapeRegexp()
function and remove dependency to escape-string-regexp
(since it is not compatible with IE 11).useLiveRef()
.useLiveRef()
2491c60DataContainer
.DataContainer
291faf0initializeDumpedToasts()
.message
in ToastManagerInterface.add()
.initializeDumpedToasts()
5f77e6emessage
in ToastManagerInterface.add()
971b8b1initializeDumpedToasts()
3533584FetchClient
.FetchClient
a6a40e4FetchClient
.FetchClient
5ae29a8FetchClient
.FetchClient
74b0425!default
in toast SCSS.LoaderInterface
.FetchClient
.!default
in toast SCSS a0d8797onSetCallback
to useDebounced
. This callback is called every time the value is updated.onSetCallback
to useDebounced
f6766f6.neutral()
, .positive()
and .negative()
convenience method to ToastManager
.options
in FetchClient.request()
optional.options
in FetchClient.request()
optional c9f0ffb.neutral()
, .positive()
and .negative()
convenience method to ToastManager
3623f31OverlayLoader
UI component.ToastManager
UI component.preact
+ update tsconfig.encodeCookieOptions
.encodeCookieOptions
7913cadpreact
+ update tsconfig af40868ToastManager
UI component 6e76226OverlayLoader
UI component 3757d6bcreateComponentInitializer
+ ComponentManager
.createComponentInitializer
+ ComponentManager
be893c8