mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* chore: add guard for ios * feat(bottom-nav): adding new properties * feat(tabs): new property implementation * feat: new feature implementation in android Implemented selectedItemColor and unSelectedItemColor properties on TabStrip * chore: added some comments * chore: change method return type * fix: setting icon color * fix: rendering mode setting * chore: rename variable * chore: fixed a typo * chore: updated log in build gradle * fix: item color setting in android * fix: tab styling when no css aplied * chore: private methods renamed * tests: added selected-item test pages * chore: renamed test pages * chore: move css-tree package to the right place * tests: added new ui tests * fix: use renamed function * fix: set item color * tests: aded automationText attribute * tests: trying to fix the tests Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
12 lines
367 B
TypeScript
12 lines
367 B
TypeScript
import { EventData } from "tns-core-modules/data/observable";
|
|
import { TabView } from "tns-core-modules/ui/tab-view";
|
|
import { isIOS } from "tns-core-modules/platform";
|
|
|
|
export function onLoaded(args: EventData) {
|
|
console.log("TEST", args.object);
|
|
const tabView = <TabView>args.object;
|
|
if (isIOS) {
|
|
tabView.ios.tabBar.translucent = false;
|
|
}
|
|
}
|