Coder Social home page Coder Social logo

flickr-gallery-demo's Introduction

关于FlickrGalleryDemo

特性

  • Demo使用React开发。

  • 使用Webpack管理资源。

  • 图片数据来源于网络,通过Flickr API获取,使用的方法是flickr.photosets.getPhotos。(获取数据可能需要翻墙)

  • 画廊使用Flex弹性布局实现行显示和格子显示效果。列表中的图片资源使用的是文件名末尾为"_m"的图片,2个图标按钮使用div实现。

  • 图片的全屏放大效果使用的是lightcase第三方插件,显示的图片资源文件名末尾为"_b"。

  • 画廊的惰性加载使用lazyload第三方插件实现。

  • 没有考虑兼容问题。

  • 使用了ES6的部分特性,如箭头函数。

  • jQuery Ajax的回调使用了Promises。

运行

$ git clone [email protected]:shadow512122313/Flickr-Gallery-Demo.git
$ cd Flickr-Gallery-Demo
$ npm install
$ npm start
浏览地址 http://localhost:8080

2017.02.19

flickr-gallery-demo's People

Contributors

shadow-mike avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.