mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00

* feat: enhance hit-testing support * refactor(android): update passthroughParent logic as per reqs * refactor: move isPassthroughParentEnabled to LayoutBase * Update view-common.ts * refactor: touchListener logic * refactor: renames * added ui test page
19 lines
529 B
TypeScript
19 lines
529 B
TypeScript
export function onOuterWrapLayoutTap() {
|
|
console.log("on outer wrap layout tap");
|
|
}
|
|
|
|
export function onStackLayoutThrowTap() {
|
|
throw new Error("Should not tap layout with IsPassThroughParentEnabled=true");
|
|
}
|
|
|
|
export function onUserInteractionDisabledTap() {
|
|
throw new Error("Should not tap button with IsUserInteractionEnabled=false");
|
|
}
|
|
|
|
export function onDisabledThrowTap() {
|
|
throw new Error("Should not tap button with IsEnabled=false");
|
|
}
|
|
|
|
export function onTap() {
|
|
console.log("on button tap");
|
|
} |