0.6.3-next.4 • Published 2 years ago
@svelteuidev/actions v0.6.3-next.4
SvelteUI Actions
Actions library with useful lifecycle functions.
- Package includes functions that are used to build components in @svelteuidev/ scoped packages.
- You can use these functions in your applications with or without other @svelteuidev/ packages.
Documentation
See full documentation on the SvelteUI website
Installation
# With yarn
yarn add @svelteuidev/actions
# With npm
npm i @svelteuidev/actions
Included Actions
- use-click-outside – Triggers a callback when a user clicks outside of a given element
- use-clipboard - Copies text to the clipboard when DOM element is clicked
- use-css-variable - Update css properties on the fly whenever some of their values change
- use-download - Causes a download to occur with a given Blob object
- use-focus - Calls focus on a node once mounted into the DOM
- use-hot-key - Calls focus on a node once mounted into the DOM
- use-lazy - Lazily attach properties to any DOM element when it is in the window
- use-long-press - Creates a longpress event when mousedown is above a duration in milliseconds
- use-page-leave - Prevent current tab from being closed by user
- use-persistent-tab - Render an element or component anywhere in the DOM
- use-portal - Call function when mouse leaves the page
- use-tab-leave - Call a function when the current tab is switched
License
All svelteui packages have MIT license. All svelteui dependencies also have MIT license.
0.5.7-next.1
2 years ago
0.5.7-next.2
2 years ago
0.6.3-next.3
2 years ago
0.6.3-next.4
2 years ago
0.6.3-next.1
2 years ago
0.6.3
2 years ago
0.6.3-next.2
2 years ago
0.6.2
2 years ago
0.6.0
2 years ago
0.5.6
2 years ago
0.5.5
2 years ago
0.5.2
2 years ago
0.3.0
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.3.1
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago