【文件属性】:
文件名称:ember-photoswipe:用于在 Ember 应用程序中使用 Photoswipe 的 Ember 插件
文件大小:762KB
文件格式:ZIP
更新时间:2021-08-04 05:30:30
ember-addon photoswipe ember-photoswipe JavaScript
Ember PhotoSwipe
用于在 Ember 应用程序中使用的插件。
兼容性
Ember.js v3.4 或以上
Ember CLI v2.13 或更高版本
Node.js v8 或更高版本
入门
在 ember-cli 应用程序中安装
ember install ember-photoswipe
然后在app.scss文件中包含以下内容:
@import " ember-photoswipe " ;
用法
我们有 javascript 对象数组,但您也可以使用 Ember.Objects 数组。 内部照片滑动所有必需的属性都将通过 getProperties 获取。
// app/controller/application.js
import Ember from 'ember' ;
export default Ember . Controller . exten
【文件预览】:
ember-photoswipe-master
----ember-cli-build.js(522B)
----testem.js(556B)
----.eslintrc.js(1KB)
----.npmignore(411B)
----jsconfig.json(141B)
----.ember-cli(280B)
----CONTRIBUTING.md(639B)
----.travis.yml(1KB)
----config()
--------environment.js(90B)
--------ember-try.js(2KB)
----LICENSE.md(1KB)
----README.md(4KB)
----addon()
--------components()
--------.gitkeep(0B)
--------templates()
----.template-lintrc.js(62B)
----.editorconfig(368B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(228B)
--------helpers()
--------dummy()
--------unit()
----blueprints()
--------ember-photoswipe()
----.gitignore(369B)
----app()
--------styles()
--------components()
--------.gitkeep(0B)
----index.js(2KB)
----.watchmanconfig(37B)
----.eslintignore(240B)
----package-lock.json(493KB)
----package.json(2KB)
----vendor()
--------.gitkeep(0B)