MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / applyTap

Function applyTap

apps/ui/src/button/background-page.ts:3–7  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

1import { View, Page } from '@nativescript/core';
2
3export function applyTap(args) {
4 var page = <Page>(<View>args.object).page;
5 var css = '#test-element { ' + args.object.tag + ' }';
6 page.css = css;
7}
8
9export function resetTap(args) {
10 var page = <Page>(<View>args.object).page;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected