mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
import { Page } from "tns-core-modules/ui/page";
|
|
|
|
const CSS = `
|
|
#tab1 { text-transform: none; }
|
|
#tab2 { text-transform: lowercase; }
|
|
#tab3 { text-transform: uppercase; }
|
|
#tab4 { text-transform: capitalize; }
|
|
`;
|
|
|
|
export function applyTap(args) {
|
|
var page = <Page>args.object.page;
|
|
page.css = CSS;
|
|
}
|
|
|
|
export function resetTap(args) {
|
|
var page = <Page>args.object.page;
|
|
page.css = "";
|
|
}
|