Z F 7 жил өмнө
parent
commit
936565dd34

+ 1 - 0
README.md

@@ -19,6 +19,7 @@ Dragact 是一款React组件,他能够使你简单、快速的构建出一款
 - [x] 自动缩放组件
 - [x] 自定义拖拽把手
 - [x] 自定义缩放把手
+- [x] 响应式布局
 
 
 

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
build/react-dragger-layout.js


+ 0 - 1
dist/lib/dragact.js

@@ -78,7 +78,6 @@ var Dragact = /** @class */ (function (_super) {
             });
         };
         _this.onWindowResize = function (event) {
-            console.log(window.innerWidth);
             var _a = _this.state.responsiveState, originWidth = _a.originWidth, lastWindowWidth = _a.lastWindowWidth;
             var windowProportion = wins.innerWidth / lastWindowWidth;
             _this.props.onWindowResize && _this.props.onWindowResize(_this.state.responsiveState);

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "dragact",
-  "version": "0.1.8",
+  "version": "0.2.1",
   "description": "A powerful draggable layout system",
   "main": "index.js",
   "scripts": {

+ 0 - 1
src/lib/dragact.tsx

@@ -231,7 +231,6 @@ export class Dragact extends React.Component<DragactProps, DragactState> {
     }
 
     onWindowResize = (event: UIEvent) => {
-        console.log(window.innerWidth);
         const { originWidth, lastWindowWidth } = this.state.responsiveState;
         const windowProportion = wins.innerWidth / lastWindowWidth;
 

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно