bee-affix
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,5 +0,10 @@ | ||
<a name="1.0.2"></a> | ||
## 1.0.2 (2018-01-21) | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://github.com/tinper-bee/bee-affix/compare/v1.0.3...v1.0.4) (2018-08-14) | ||
<a name="1.0.3"></a> | ||
## 1.0.3 (2018-08-10) | ||
@@ -14,6 +14,6 @@ /** | ||
return ( | ||
<div className="outer-box" id="outer-box" style={{ width: '100%', height: '500px' }}> | ||
{/* <label>基本的Affix</label> */} | ||
<div className="outer-box" id="outer-box"> | ||
<label>基本的Affix</label> | ||
<Affix> | ||
<div className='content' style={{ width: 'auto', height: '50px', backgroundColor: 'red' }}> | ||
<div className='content'> | ||
<span>affix</span> | ||
@@ -20,0 +20,0 @@ </div> |
@@ -13,3 +13,3 @@ import { Con, Row, Col } from 'bee-layout'; | ||
var Demo1 = require("./demolist/Demo1");var DemoArray = [{"example":<Demo1 />,"title":" 基本的Affix","code":"/**\n*\n* @title 基本的Affix\n* @description 基本的Affix\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo1 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\" style={{ width: '100%', height: '500px' }}>\n {/* <label>基本的Affix</label> */}\n <Affix>\n <div className='content' style={{ width: 'auto', height: '50px', backgroundColor: 'red' }}>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 基本的Affix","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n}"}] | ||
var Demo1 = require("./demolist/Demo1");var Demo2 = require("./demolist/Demo2");var Demo3 = require("./demolist/Demo3");var DemoArray = [{"example":<Demo1 />,"title":" 基本的Affix","code":"/**\n*\n* @title 基本的Affix\n* @description 基本的Affix\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo1 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\">\n <label>基本的Affix</label>\n <Affix>\n <div className='content'>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 基本的Affix","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n}"},{"example":<Demo2 />,"title":" offsetTop Affix","code":"/**\n*\n* @title offsetTop Affix\n* @description 触发固定的top\n*\n*/\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo2 extends Component {\n render () {\n return (\n <div className=\"outer-box\" id=\"outer-box\">\n <label>基本的Affix,`offsetTop=200`</label>\n <Affix offsetTop={200}>\n <div className='content'>\n <span>affix</span>\n </div>\n </Affix>\n </div>\n )\n }\n}\n\n\n","desc":" 触发固定的top","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n }"},{"example":<Demo3 />,"title":" horizontal Affix","code":"/**\n *\n * @title horizontal Affix\n * @description 被固定时是否可以左右滑动\n *\n */\n\n\nimport React, { Component } from 'react';\nimport { Affix } from 'tinper-bee';\n\nclass Demo3 extends Component {\n render() {\n return (\n <div className = \"outer-box\"id = \"outer-box\" >\n <label > 基本的Affix, `container=tinperBeeDemo horizontal offsetTop=450 ` </label> \n <Affix horizontal offsetTop = { 350 } >\n <div className = 'content' >\n <span > affix </span>\n </div> \n </Affix> \n </div>\n )\n }\n}\n\n","desc":" 被固定时是否可以左右滑动","scss_code":".content {\n width: 150px;\n height: 100px;\n background: red;\n font-size: 20px;\n color: #fff;\n text-align: center;\n line-height: 100px;\n }"}] | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "bee-affix", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Affix ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1191667
32
10738
0