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

conbo-viewnavigator

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conbo-viewnavigator - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

6

dist/ViewNavigator.d.ts

@@ -6,3 +6,3 @@ import { View, Promise } from 'conbo';

*/
export default class ViewNavigator extends View {
export declare class ViewNavigator extends View {
/**

@@ -33,3 +33,3 @@ * Function that controls the pop transition

*/
protected __construct(options: any): void;
protected preinitialize(options: any): void;
/**

@@ -64,1 +64,3 @@ * @private

}
export declare function slidePopTransition(startView: View, endView: View): Promise<any>;
export declare function slidePushTransition(startView: View, endView: View): Promise<any>;

@@ -26,8 +26,8 @@ "use strict";

*/
ViewNavigator.prototype.__construct = function (options) {
conbo_1.assign(this, conbo_1.setDefaults({}, conbo_1.pick(options, 'defaultPopTransition', 'defaultPushTransition', 'firstView', 'firstViewOptions'), conbo_1.pick(this, 'defaultPopTransition', 'defaultPushTransition', 'firstView', 'firstViewOptions'), { defaultPopTransition: defaultPopTransition, defaultPushTransition: defaultPushTransition }));
ViewNavigator.prototype.preinitialize = function (options) {
_super.prototype.preinitialize.call(this, options);
conbo_1.assign(this, conbo_1.setDefaults({}, conbo_1.pick(options, 'defaultPopTransition', 'defaultPushTransition', 'firstView', 'firstViewOptions'), conbo_1.pick(this, 'defaultPopTransition', 'defaultPushTransition', 'firstView', 'firstViewOptions'), { slidePopTransition: slidePopTransition, slidePushTransition: slidePushTransition }));
this.__viewStack = [];
this.className += ' cb-viewnavigator';
this.addEventListener(conbo_1.ConboEvent.CREATION_COMPLETE, this.__creationCompleteHandler, this);
conbo_1.View.prototype.__construct.apply(this, arguments);
};

@@ -121,3 +121,3 @@ /**

}(conbo_1.View));
exports.default = ViewNavigator;
exports.ViewNavigator = ViewNavigator;
// Related CSS styles

@@ -157,3 +157,3 @@ document.querySelector('head').innerHTML +=

}
function defaultPopTransition(startView, endView) {
function slidePopTransition(startView, endView) {
if (endView)

@@ -163,3 +163,4 @@ slide(endView, -100, 0);

}
function defaultPushTransition(startView, endView) {
exports.slidePopTransition = slidePopTransition;
function slidePushTransition(startView, endView) {
if (startView)

@@ -169,1 +170,2 @@ slide(startView, 0, -100);

}
exports.slidePushTransition = slidePushTransition;
{
"name": "conbo-viewnavigator",
"version": "1.0.3",
"version": "1.1.0",
"description": "The ConboJS ViewNavigator component is a container that consists of a collection of View objects, where only the top most view is visible and active",

@@ -26,4 +26,4 @@ "keywords": [

"dependencies": {
"conbo": "^4.3.4"
"conbo": "^4.3.9"
}
}
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