Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@egjs/conveyer

Package Overview
Dependencies
Maintainers
9
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egjs/conveyer - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

14

CHANGELOG.md

@@ -6,2 +6,16 @@ # Change Log

## [1.3.1](https://github.com/naver/egjs-conveyer/compare/@egjs/conveyer@1.3.0...@egjs/conveyer@1.3.1) (2022-07-01)
### :memo: Documentation
* add useSideWheel demo (#16) ([bc1486d](https://github.com/naver/egjs-conveyer/commit/bc1486d63ec1b8a505259c16e73305c358e68745))
### :mega: Other
* update packages versions ([037314d](https://github.com/naver/egjs-conveyer/commit/037314d60b7799066f588f073273d56eb4c308b7))
## [1.3.0](https://github.com/naver/egjs-conveyer/compare/@egjs/conveyer@1.2.0...@egjs/conveyer@1.3.0) (2022-06-23)

@@ -8,0 +22,0 @@

3

package.json
{
"name": "@egjs/conveyer",
"version": "1.3.1",
"version": "1.4.0",
"description": "Conveyer adds Drag gestures to your Native Scroll.",

@@ -34,2 +34,3 @@ "main": "./dist/conveyer.cjs.js",

"dependencies": {
"@cfcs/core": "~0.0.4",
"@egjs/axes": "^3.4.0",

@@ -36,0 +37,0 @@ "@egjs/component": "^3.0.1"

@@ -28,7 +28,1 @@ /**

export const CONVEYER_REACTIVE_STATE = {
"isReachStart": false,
"isReachEnd": false,
"scrollPos": 0,
} as const;

@@ -9,3 +9,3 @@ /**

import { IS_IE } from "./browser";
import { ReactiveSubscribe, Reactive, Ref } from "./cfcs";
import { ReactiveSubscribe, Reactive, Ref } from "@cfcs/core";
import {

@@ -57,3 +57,3 @@ ConveyerEvents, ConveyerItem,

* @type {boolean}
* @default false
* @default true
* @readonly

@@ -69,3 +69,3 @@ * @example

*/
@Reactive("isReachStart") private _isReachStart = false;
@Reactive("isReachStart") private _isReachStart = true;
/**

@@ -72,0 +72,0 @@ * Whether the scroll has reached the end.

@@ -13,2 +13,1 @@ /**

export * from "./reactive";
export * from "./cfcs";

@@ -7,4 +7,4 @@ /**

import Conveyer from "./Conveyer";
import { CONVEYER_EVENTS, CONVEYER_METHODS, CONVEYER_REACTIVE_STATE } from "./consts";
import { ReactiveAdapter, Ref } from "./cfcs";
import { CONVEYER_EVENTS, CONVEYER_METHODS } from "./consts";
import { ReactiveAdapter, Ref } from "@cfcs/core";
import { ConveyerEvents, ConveyerMethods, ConveyerOptions, ConveyerReactiveState } from "./types";

@@ -25,12 +25,9 @@

> = {
state: CONVEYER_REACTIVE_STATE,
methods: CONVEYER_METHODS,
events: CONVEYER_EVENTS,
instance(data) {
created(data) {
return new Conveyer(data.container, { ...data.props, autoInit: false });
},
init(instance, data) {
if (data.props.autoInit !== false) {
instance.init();
}
init(instance) {
instance.init();
},

@@ -37,0 +34,0 @@ on(instance, name, callback) {

@@ -10,2 +10,3 @@ {

"experimentalDecorators": true,
"skipLibCheck": true,
"jsx": "react",

@@ -12,0 +13,0 @@ "lib": [

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