mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 13:51:27 +08:00
19 lines
399 B
TypeScript
19 lines
399 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 = "";
|
|
}
|