From d8540dd3bed0d7dd19af68c3bc6ece035af76789 Mon Sep 17 00:00:00 2001 From: Angelo Anolin Date: Fri, 19 Oct 2018 12:19:46 -0600 Subject: [PATCH] Add events header Some events or methods need to be defined for the control as some of them are not documented in the api reference (https://docs.nativescript.org/api-reference/classes/_ui_layouts_stack_layout_.stacklayout). This will help developers know what events are available for this control where they could wire up some code. --- content/docs/en/elements/layouts/stack-layout.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/docs/en/elements/layouts/stack-layout.md b/content/docs/en/elements/layouts/stack-layout.md index 161378d4..5dea9ac0 100644 --- a/content/docs/en/elements/layouts/stack-layout.md +++ b/content/docs/en/elements/layouts/stack-layout.md @@ -70,6 +70,11 @@ The following example creates a diagonal stack of items with responsive sizes. I ``` +## Events +| Name | Description | +|------|-------------| +`tap` | Emitted when the layout is tapped. + ## Props | Name | Type | Description | @@ -78,4 +83,4 @@ The following example creates a diagonal stack of items with responsive sizes. I ## Additional children props -None. \ No newline at end of file +None.