Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A color picker component for svelte

License

NotificationsYou must be signed in to change notification settings

efeskucuk/svelte-color-picker

Repository files navigation

svelte-v3

Installation

With npm

$cd yourSvelteProject$ npm i svelte-color-picker

Usage

In your component :

<script>import{HsvPicker} from 'svelte-color-picker';function colorCallback(rgba){console.log(rgba.detail)}</script><HsvPickeron:colorChange={colorCallback}startColor={"#FBFBFB"}/>

Components

Svelte Color Picker currently has one type of colorpicker.

</HsvPicker>

PropsValue TypeUse
on:colorChangefunctionGiven function gets called every time color changes
startColorstringInitializes color picker with the value (hexadecimal without alpha).

License

MIT

About

A color picker component for svelte

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp