Skip to content

rabee-inc/svelte-split

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/[email protected]/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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published