From 01af00d691729ee0a6fd352f7d2ed8cb6869cd5b Mon Sep 17 00:00:00 2001 From: Mathieu <70205357+MathieuBurnat@users.noreply.github.com> Date: Tue, 7 Sep 2021 16:30:17 +0200 Subject: [PATCH] Add more details about child component --- content/docs/en/elements/components/button.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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