event-tester-block 5.16.0
Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/event-tester-block@5.16.0
Install via package.json:
"@wpmedia/event-tester-block": "5.16.0"
About this version
Fusion News Theme event tester block. Used for testing the event emitter. When new events are created, they should be subscribed to in this component in the constructor. When this component is added to a page, it will not render anything visually. It will console.log a message altering you what event has been consumed and also dump our the event object that can be inspected to ensure the correct data was captured.
- Add AC relevant to the block
Prop | Required | Type | Description |
---|---|---|---|
required prop | yes | ||
optional prop | no | ||
contentConfig example | Please specify which content sources are compatible |
Outline any schema information requirements necessary to know for ths block
- n/a
- Add all internationalization fields used in the block
Blocks can emit events. The following is a list of events that are emitted by this block.
Event Name | Description |
---|---|
eventName | Describe the event |
Include block specific instructions for event listening.
OR
This block does not emit any events.
This is optional. Please add an additional context that would be important to know in order to use this block.
Details
- event-tester-block
- WPMedia
- almost 3 years ago
- CC-BY-NC-ND-4.0
- 1 dependencies
Assets
- event-tester-block-5.16.0-npm.tgz
Download activity
- Total downloads 13,091
- Last 30 days 0
- Last week 0
- Today 0