New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-bottombar

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-bottombar - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

bottombar.android.js

@@ -49,3 +49,3 @@ "use strict";

set: function (value) {
if (this._title !== value && value) {
if (this._title !== value && value && this._parent) {
this._title = value;

@@ -63,3 +63,3 @@ this._parent.changeItemTitle(this._index, this._title);

set: function (value) {
if (this._icon !== value && value) {
if (this._icon !== value && value && this._parent) {
this._icon = value;

@@ -77,3 +77,3 @@ this._parent.changeItemIcon(this._index, this._icon);

set: function (value) {
if (this._color !== value && value) {
if (this._color !== value && value && this._parent) {
this._color = value;

@@ -91,3 +91,3 @@ this._parent.changeItemColor(this._index, this._color);

set: function (value) {
if (this._notification !== value && value) {
if (this._notification !== value && value && this._parent) {
this._notification = value;

@@ -94,0 +94,0 @@ this._parent.android.setNotification(this._notification, this._index);

@@ -41,8 +41,8 @@ import { Property, PropertyChangeData } from "ui/core/dependency-observable";

_createUI(): void;
_addArrayFromBuilder(name: string, value: Array<any>): void;
_onBindingContextChanged(oldValue: any, newValue: any): void;
_addChildFromBuilder(name: string, value: any): void;
insertTab(tabItem: BottomBarItem, index?: number): void;
items: Array<BottomBarItem>;
_onItemsPropertyChangedSetNativeValue(data: PropertyChangeData): void;
createItems(items: Array<any>): void;
changeItemTitle(index: number, title: string): void;
changeItemColor(index: number, color: string): void;
changeItemIcon(index: number, icon: string): void;
selectedIndex: number;

@@ -49,0 +49,0 @@ _onSelectedIndexPropertyChangedSetNativeValue(data: PropertyChangeData): void;

{
"name": "nativescript-bottombar",
"version": "2.0.0",
"version": "2.0.1",
"description": "NativeScript plugin for AHBottomNavigation.",

@@ -5,0 +5,0 @@ "main": "bottombar",

@@ -78,2 +78,3 @@ [![npm](https://img.shields.io/npm/v/nativescript-bottombar.svg)](https://www.npmjs.com/package/nativescript-bottombar)

!!! If you want to change items color, title.. you'll have to wait for the BottomBar to be loaded !!!

@@ -86,3 +87,3 @@ ### XML

<GridLayout row="1">
<BottomBar row="1" [items]="items" (tabSelected)="tabSelected($event)" [hide]="hidden" titleState={{titleState}} ></BottomBar>
<BottomBar row="1" [items]="items" (tabSelected)="tabSelected($event)" [hide]="hidden" titleState="{{titleState}}" (loaded)="bottomBarLoaded()"></BottomBar>
</GridLayout>

@@ -129,2 +130,5 @@ </GridLayout>

}
bottomBarLoaded() {
console.log('bottomBarLoaded');
}
}

@@ -131,0 +135,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc