Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

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