5.6.0 • Published 3 days ago

@wordpress/interactivity v5.6.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
3 days ago

Interactivity API

Warning This package is only available in Gutenberg at the moment and not in WordPress Core as it is still very experimental, and very likely to change.

Note This package enables the API shared at Proposal: The Interactivity API – A better developer experience in building interactive blocks. As part of an Open Source project we encourage participation in helping shape this API and the discussions in GitHub is the best place to engage.

This package can be tested, but it's still very experimental. The Interactivity API is being used in some core blocks but its use is still very limited.

Frequently Asked Questions

At this point, some of the questions you have about the Interactivity API may be:

What is this?

This is the base of a new standard to create interactive blocks. Read the proposal to learn more about this.

Can I use it?

You can test it, but it's still very experimental.

How do I get started?

The best place to start with the Interactivity API is this Getting started guide. There you'll will find a very quick start guide and the current requirements of the Interactivity API.

Where can I ask questions?

The “Interactivity API” category in Gutenberg repo discussions is the best place to ask questions about the Interactivity API.

Where can I share my feedback about the API?

The “Interactivity API” category in Gutenberg repo discussions is also the best place to share your feedback about the Interactivity API.

Installation

Install the module:

npm install @wordpress/interactivity --save

This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for such language features and APIs, you should include the polyfill shipped in @wordpress/babel-preset-default in your code.

Docs & Examples

Interactivity API Documentation is the best place to learn about this proposal. Although it's still in progress, some key pages are already available:

  • Getting Started Guide: Follow this Getting Started guide to learn how to scaffold a new project and create your first interactive blocks.
  • API Reference: Check this page for technical detailed explanations and examples of the directives and the store.

Here you have some more resources to learn/read more about the Interactivity API:

5.0.6

3 days ago

5.6.0

3 days ago

5.5.0

17 days ago

5.4.0

1 month ago

5.3.0

2 months ago

5.0.5

2 months ago

5.0.4

2 months ago

5.2.0

2 months ago

5.0.3

2 months ago

5.0.2

2 months ago

5.1.0

2 months ago

5.0.1

3 months ago

5.0.0

3 months ago

4.0.1

3 months ago

4.0.0

3 months ago

3.2.0

4 months ago

3.1.0

5 months ago

3.0.1

5 months ago

3.0.0

5 months ago

2.7.0

6 months ago

2.3.13

6 months ago

2.3.12

6 months ago

2.6.0

6 months ago

2.3.11

6 months ago

2.3.10

6 months ago

2.3.9

7 months ago

2.5.0

7 months ago

2.3.8

7 months ago

2.3.7

7 months ago

2.3.6

7 months ago

2.3.5

7 months ago

2.3.4

7 months ago

2.4.0

7 months ago

2.3.3

7 months ago

2.3.2

7 months ago

2.3.1

7 months ago

2.3.0

8 months ago

2.2.0

8 months ago

2.1.1

9 months ago

2.1.0

9 months ago

2.0.0

9 months ago

1.2.0

10 months ago

1.1.0

10 months ago