mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
feat: bundle workflow support (#7337)
This commit is contained in:

committed by
Vasil Chimev

parent
5f9eabdf17
commit
ecd9fc3e9d
18
e2e/ui-tests-app/app/tab-view/text-transform-page.ts
Normal file
18
e2e/ui-tests-app/app/tab-view/text-transform-page.ts
Normal file
@ -0,0 +1,18 @@
|
||||
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 = "";
|
||||
}
|
Reference in New Issue
Block a user