Skip to content

Expand documentation to include InspectorControls code examples #4478

Closed
@danielbachhuber

Description

I'm working on a demo ES5 Countdown Timer block at the moment. It needs two control elements: label and countdown_date.

Because the latter is a computed value, I want to create a TextControl (or similar) to input the date. However, only BlockControls are documented so I spent a fair amount of time in confusion until I realized there's an InspectorControls API too. It would be nice to have this documented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Status] In ProgressTracking issues with work in progress[Type] Developer DocumentationDocumentation for developers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions