2016-11-22 14:28:05 +08:00
|
|
|
exports[`test renders ./components/affix/demo/basic.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Affix top
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Affix bottom
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/affix/demo/on-change.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="">
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
120px to affix top
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/affix/demo/target.md correctly 1`] = `
|
|
|
|
<div
|
2016-12-03 16:23:35 +08:00
|
|
|
class="scrollable-container">
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2016-12-03 16:23:35 +08:00
|
|
|
class="background">
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Fixed at the top of container
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|