ember-pin:滚动触发的固定 UI 部分,用于 Ember.js

时间:2021-07-23 22:01:55
【文件属性】:
文件名称:ember-pin:滚动触发的固定 UI 部分,用于 Ember.js
文件大小:268KB
文件格式:ZIP
更新时间:2021-07-23 22:01:55
JavaScript 余烬针 固定 UI 元素,由滚动触发。 采用 使用 ember-cli 安装此插件 ember install ember-pin 然后在{{pinned-content}}组件中包装您想要的任何{{pinned-content}} ,定义top或bottom属性(数值,以像素为单位) {{ #pinned-content top = 20 }} < div xss=removed> < div xss=removed> < span xss=removed>Top-Pinned < p> This card should snap to the top of the viewport as the user starts
【文件预览】:
ember-pin-master
----.travis.yml(1KB)
----ember-pin.sublime-workspace(31KB)
----.ember-cli(280B)
----ember-cli-build.js(494B)
----vendor()
--------.gitkeep(0B)
----blueprints()
--------ember-pin()
--------.jshintrc(55B)
----addon()
--------templates()
--------components()
--------.gitkeep(0B)
----config()
--------release.js(571B)
--------ember-try.js(2KB)
--------environment.js(90B)
----index.js(71B)
----renovate.json(55B)
----.jscsrc(30B)
----jsconfig.json(141B)
----.watchmanconfig(37B)
----package.json(2KB)
----.prettierrc(153B)
----tests()
--------test-helper.js(228B)
--------index.html(1KB)
--------unit()
--------dummy()
--------integration()
--------.jshintrc(831B)
--------helpers()
----app()
--------components()
--------.gitkeep(0B)
----testem.js(581B)
----.npmignore(380B)
----.eslintrc.js(967B)
----.template-lintrc.js(62B)
----LICENSE.md(1KB)
----.gitignore(355B)
----CHANGELOG.md(984B)
----ember-pin.sublime-project(418B)
----README.md(1KB)
----.jshintrc(518B)
----yarn.lock(636KB)
----.eslintignore(225B)
----.editorconfig(368B)
----.vscode()
--------settings.json(54B)

网友评论