0.1.3 • Published 4 years ago

higlass-svelte v0.1.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

Install

npm i higlass-svelte

Get Started

<script>
  import HiGlass from 'higlass-svelte';

  const viewConfig = 'https://higlass.io/api/v1/viewconfs?d=default';
  const options = {
    sizeMode: 'bounded'
  };

  let api;
  $: if (api) {
    console.log('HiGlass is ready...');
  }
</script>

<HiGlass
  viewConfig={viewConfig}
  options={options}
  bind:api={api}
/>

Development

First run:

git clone https://github.com/flekschas/higlass-svelte
cd higlass-svelte
npm install
npm run dev

Then go to: http://localhost:5000

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago