Movatterモバイル変換


[0]ホーム

URL:


⚠️

Security Update: npm classic token creation is now disabled. Existing classic tokens will be revoked onNovember 19, 2025. Migrate to trusted publishing or granular access tokens to avoid disruption.Learn more.

@svelte-put/resize
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

npm.badgebundlephobia.badgedocs.badge

Svelte actionuse:resize wrapper forResizeObserver.

svelte-put

This package is part of the@svelte-put family. For contributing guideline and more, refer to itsreadme.

Usage & Documentation

See the dedicated documentation page here.

Quick Start

<scriptlang="ts">import{resize}from'@svelte-put/resize';importtype{ResizeDetail}from'@svelte-put/resize';functiononResized(e:CustomEvent<ResizeDetail>){console.log(e.detail);}</script><divuse:resizeon:resized="{onResized}" />

Provenance

Share feedback

Package Sidebar

Install

npm i @svelte-put/resize

Weekly Downloads

638

Version

4.0.0

License

MIT

Unpacked Size

12.5 kB

Total Files

9

Last publish

Collaborators

  • vnphanquang

[8]ページ先頭

©2009-2025 Movatter.jp