svelte-split
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

svelte-split

npm version

svelte-split is ...

Demo

Install

$ npm install svelte-split --save

Usage

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/phi-jp/meltline@v0.1.13/meltline.css">

<script>
  import Split from "svelte-split";
</script>

<Split class='f s-full' storageKey='demo' defaultSizes='{[30, 40, 30]}'>
  <div class='bg-red text-white f fh'>
    <div class='fs32 bold'>
      red
    </div>
  </div>
  <div class='bg-green text-white f fh'>
    <div class='fs32 bold'>
      green
    </div>
  </div>
  <div class='bg-blue text-white f fh'>
    <div class='fs32 bold'>
      blue
    </div>
  </div>
</Split>

Development

$ npm run dev

Release

$ npm run release

License

MIT

Package Sidebar

Install

npm i svelte-split

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

4.3 kB

Total Files

6

Last publish

Collaborators

  • phi