nativescript-bottom-navigation
Version:
NativeScript plugin to add a bottom navigation component for Android & iOS
34 lines • 1.19 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var view_1 = require("tns-core-modules/ui/core/view");
var image_source_1 = require("tns-core-modules/image-source");
var BottomNavigationTabBase = (function (_super) {
__extends(BottomNavigationTabBase, _super);
function BottomNavigationTabBase(args) {
var _this = _super.call(this) || this;
if (!args) {
return _this;
}
for (var k in args) {
if (args.hasOwnProperty(k)) {
_this[k] = args[k];
}
}
return _this;
}
return BottomNavigationTabBase;
}(view_1.View));
exports.BottomNavigationTabBase = BottomNavigationTabBase;
exports.isSelectableProperty = new view_1.Property({
name: 'isSelectable',
defaultValue: true,
valueConverter: view_1.booleanConverter,
});
exports.isSelectableProperty.register(BottomNavigationTabBase);
exports.iconProperty = new view_1.Property({
name: 'icon',
affectsLayout: true,
valueConverter: image_source_1.fromFileOrResource,
});
exports.iconProperty.register(BottomNavigationTabBase);
//# sourceMappingURL=bottom-navigation-tab.base.js.map