JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q84570F
  • License MIT

A dock component of responsive-ui.

Package Exports

  • @responsive-ui/dock

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@responsive-ui/dock) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@responsive-ui/dock

A dock component of responsive-ui.

Svelte v3 npm Bundle Size download LICENCE

Install

npm install @responsive-ui/dock

or

yarn add @responsive-ui/dock

Look and Feel

@responsive-ui/dock

Properties, Events & Slots

interface DockProps {
  open?: boolean;
  placement?: "left" | "right";
  closable?: boolean;
  width?: string;
  class?: string;
  style?: string;
}

interface DockEvents {}

interface DockSlots {
  default: {};
}

declare class Dock extends SvelteComponentTyped<
  DockProps,
  DockEvents,
  DockSlots
> {}

Example

<script>
  import Dock from '@responsive-ui/dock';

  let open = false;
</script>

<Dock bind:open />

<button on:click={() => open = true}>open dock</button>

Try it yourself in Svelte Repl

Sponsors

WeTix

License

@responsive-ui/dock is 100% free and open-source, under the MIT license.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub NPM