Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 604 Bytes

color.md

File metadata and controls

40 lines (25 loc) · 604 Bytes

color

image

Properties

title:

The title of color control

  • Type: string
  • Required: No
  • Default: 'Color'

initialOpen:

  • Type: bool
  • Required: No

For more read gutenberg readme.

Example:

color: {
	type: 'string',
	field: {
		type: 'color',
		placement: 'inspector',
	},
}

Return

This will return color hex code. For eg. #000000

  • Type: string