sc-portal
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

sc-portal

Install

npm install sc-portal

Usage

<script>
  import Portal from 'sc-portal';

  let open = false;
</script>

<button on:click={() => (open = !open)}>Toggle</button>
<Portal {open} autoLock={false}>
  <h1>Root</h1>
</Portal>

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i sc-portal

    Weekly Downloads

    0

    Version

    1.0.1

    License

    none

    Unpacked Size

    13.6 kB

    Total Files

    20

    Last publish

    Collaborators

    • hunghg255