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/clickoutside
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

npm.badgebundlephobia.badgedocs.badgerepl.badge

Svelte actionuse:clickoutside - event for clicking outside a node

demo

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{clickoutside}from'@svelte-put/clickoutside';functiondoSomething(e:CustomEvent<MouseEvent>){console.log(e.target);}</script><divuse:clickoutsideonclickoutside="{doSomething}" />

Provenance

Share feedback

Package Sidebar

Install

npm i @svelte-put/clickoutside

Weekly Downloads

1,179

Version

4.0.0

License

MIT

Unpacked Size

13.5 kB

Total Files

9

Last publish

Collaborators

  • vnphanquang

[8]ページ先頭

©2009-2025 Movatter.jp