diff --git a/content/docs/en/elements/components/button.md b/content/docs/en/elements/components/button.md index 03693aa1..e1b35307 100644 --- a/content/docs/en/elements/components/button.md +++ b/content/docs/en/elements/components/button.md @@ -46,6 +46,14 @@ If you need to style parts of the text, you can use a combination of a `Formatte |------|-------------| | `tap` | Emitted when the button is tapped. +### Child component as Button +If you want to use the event @tap on a child component. You have to use the expression : ``@tap.native``, otherwise it wont works. +Example : + +```js + +``` + ## Native component | Android | iOS | pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy