An open API service indexing awesome lists of open source software.

https://github.com/vasucp1207/sveltronics

Svelte utility functions for your project
https://github.com/vasucp1207/sveltronics

svelte sveltekit typescript

Last synced: about 1 year ago
JSON representation

Svelte utility functions for your project

Awesome Lists containing this project

README

          

lib-icon

Sveltronics


Svelte utility functions for your project

# 📦Installation

```
npm i sveltronics
```

# 🐰Usage

```svelte

import { resizeable, elementSize } from "sveltronics";
import { onMount } from "svelte";

let myEle;
let { height, width } = {};
onMount(() => {
({ height, width } = elementSize(myEle));
})


Resizeable

Height: {$height}

Width: {$width}

```