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 |