@emanon/ema-colorinput

| Property | Attribute | Type | Default | |---------------|---------------|----------------------|---------| | appearance | appearance | "box" \| "line" | "box" | | description | description | string | "" | | disabled | disabled | boolean | false | | error | error | string | "" | | label | label | string | "" | | placeholder | placeholder | string | "" | | required | required | boolean | false | | size | size | "large" \| "small" | "large" | | value | value | string | "" |

Usage no npm install needed!

<script type="module">
  import emanonEmaColorinput from 'https://cdn.skypack.dev/@emanon/ema-colorinput';
</script>

README

ema-colorinput

Properties

Property Attribute Type Default
appearance appearance "box" \| "line" "box"
description description string ""
disabled disabled boolean false
error error string ""
label label string ""
placeholder placeholder string ""
required required boolean false
size size "large" \| "small" "large"
value value string ""

Events

Event Type
value-change CustomEvent<{ value: string; }>
value-input CustomEvent<{ value: string; }>