diff --git a/packages/interactivity/docs/api-reference.md b/packages/interactivity/docs/api-reference.md index 319a397443014..de119ec416f9e 100644 --- a/packages/interactivity/docs/api-reference.md +++ b/packages/interactivity/docs/api-reference.md @@ -125,7 +125,7 @@ Different contexts can be defined at different levels, and deeper levels will me ### `wp-bind` -This directive allows setting HTML attributes on elements based on a boolean or string value. It follows the syntax `data-wp-bind--attribute`. +This directive allows setting HTML attributes on elements based on a boolean or string value. It follows the syntax `data-wp-bind--attribute`. ```html
  • @@ -225,7 +225,7 @@ The boolean value received by the directive is used to toggle (add when `true` o ### `wp-style` -This directive adds or removes inline style to an HTML element, depending on its value. It follows the syntax `data-wp-style--css-property`. +This directive adds or removes inline style to an HTML element, depending on its value. It follows the syntax `data-wp-style--css-property`. ```html
    @@ -299,7 +299,7 @@ The returned value is used to change the inner content of the element: `
    val ### `wp-on` -This directive runs code on dispatched DOM events like `click` or `keyup`. The syntax is `data-wp-on--[event]` (like `data-wp-on--click` or `data-wp-on--keyup`). +This directive runs code on dispatched DOM events like `click` or `keyup`. The syntax is `data-wp-on--[event]` (like `data-wp-on--click` or `data-wp-on--keyup`). ```php