diff --git a/packages/interactivity/docs/2-api-reference.md b/packages/interactivity/docs/2-api-reference.md index bae15e9a7fcf2f..285b9ea152a412 100644 --- a/packages/interactivity/docs/2-api-reference.md +++ b/packages/interactivity/docs/2-api-reference.md @@ -47,7 +47,7 @@ _Example of directives used in the HTML markup_ ```html
@@ -69,14 +69,25 @@ Directives can also be injected dynamically using the [HTML Tag Processor](https ### List of Directives -With directives, we can directly manage behavior related to things such as side effects, state, event handlers, attributes or content. +With directives, we can directly manage interactions related to things such as side effects, state, event handlers, attributes or content. #### `wp-interactive` -The `wp-interactive` directive "activates" the interactivity for the DOM element and its children through the Interactivity API (directives and store). It includes a namespace to reference a specific store. +The `wp-interactive` directive "activates" the interactivity for the DOM element and its children through the Interactivity API (directives and store). The directive includes a namespace to reference a specific store, that can be set as a `string` or an `object`. ```html +
+

I'm interactive now, >and I can use directives!

+
+

I'm also interactive, and I can also use directives!

+
+
+```html +
+