ember-sticky-element:一个模仿`position:sticky`功能的余烬组件。

时间:2021-02-04 23:03:52
【文件属性】:
文件名称:ember-sticky-element:一个模仿`position:sticky`功能的余烬组件。
文件大小:129KB
文件格式:ZIP
更新时间:2021-02-04 23:03:52
ember ember-addon EmberJavaScript 灰烬粘元件 此Ember插件使您能够在滚动时将部分UI粘贴到视口。 其语义大致遵循建议的规范。 有关示例,请参见! 我为什么要用这个 提到CSS position: sticky扩展position: sticky仍处于起草阶段,并本地的。 虽然有可用的polyfill,但它们缺少一些功能: 您不能根据其粘性状态改变粘性元素的样式 您也不能基于该状态动态更改粘滞元素的内容 尽管可能有一些出于相同目的的jQuery插件,但它们可能并不总是与Ember配合使用。 因此,此插件添加了一个sticky-element组件,该组件模仿了基本position: sticky行为。 当前,它仅支持在
【文件预览】:
ember-sticky-element-master
----ember-cli-build.js(677B)
----testem.js(556B)
----yarn.lock(312KB)
----.eslintrc.js(1005B)
----.npmignore(410B)
----.ember-cli(280B)
----CONTRIBUTING.md(673B)
----.travis.yml(1KB)
----config()
--------environment.js(90B)
--------ember-try.js(2KB)
----LICENSE.md(1KB)
----README.md(5KB)
----addon()
--------components()
--------templates()
----.template-lintrc.js(62B)
----.editorconfig(368B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(228B)
--------helpers()
--------dummy()
--------unit()
----.gitignore(369B)
----app()
--------components()
----index.js(302B)
----.watchmanconfig(37B)
----.eslintignore(240B)
----package.json(2KB)
----vendor()
--------ember-sticky-element.css(75B)

网友评论