Skip to main content
Module

x/netlify_cms_config/mod.ts>Color

Netlify CMS config generator
Latest
class Color
extends Field<Options>
Re-export
import { Color } from "https://deno.land/x/netlify_cms_config@v0.3.2/mod.ts";

Constructors

new
Color(label: string, config?: Options)

Properties

widget: string

Methods

allowInput(allowInput?): this

Allows manual editing of the color input value

default(color: string): this

Sets the default value. Defaults to an empty string.

enableAlpha(enableAlpha?): this

Enables Alpha editing

Static Properties

defaults: Options