Z F před 7 roky
rodič
revize
936565dd34
5 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 1 0
      README.md
  2. 0 0
      build/react-dragger-layout.js
  3. 0 1
      dist/lib/dragact.js
  4. 1 1
      package.json
  5. 0 1
      src/lib/dragact.tsx

+ 1 - 0
README.md

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

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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;
 

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů