Skip to content

Commit d8540dd

Browse files
authored
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.
1 parent a2e6739 commit d8540dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/docs/en/elements/layouts/stack-layout.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ The following example creates a diagonal stack of items with responsive sizes. I
7070
```
7171
<img class="md:w-1/2 lg:w-1/3" src="https://art.nativescript-vue.org/layouts/stack_layout_horizontal_align_children.svg" />
7272

73+
## Events
74+
| Name | Description |
75+
|------|-------------|
76+
`tap` | Emitted when the layout is tapped.
77+
7378
## Props
7479

7580
| Name | Type | Description |
@@ -78,4 +83,4 @@ The following example creates a diagonal stack of items with responsive sizes. I
7883

7984
## Additional children props
8085

81-
None.
86+
None.

0 commit comments

Comments
 (0)