Giter VIP home page Giter VIP logo

ember-cli-lightbox's People

Contributors

bradplank avatar majnikov avatar ondrejsevcik avatar peavers avatar ramybenaroya avatar sweet-bob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ember-cli-lightbox's Issues

Setting images folder

I use fingerprinting and have a specific folder for my images. Is it possible to define what path the following images are set to:

  • /images/lightbox/close.png
  • /images/lightbox/loading.gif
  • /images/lightbox/next.png
  • /images/lightbox/prev.png

I currently store my images at /img/*

Change lightbox options

Hi!
Thanks for your addon. It is possible to change the lightbox options like "disableScrolling", "albumLabel"?

Fastboot

Is there any plans to make this library compatible with fastboot?

Installation fails

When I try to install as per instructions i get this error on running ember g ember-cli-lightbox:

installing ember-cli-lightbox
The ember generate <entity-name> command requires an entity name to be specified. For more details, use ember help.

Failed to build when used in an addon

I have an addon that requires ember-cli-lightbox. When I run ember serve in consuming app it throws:
TypeError: Path must be a string. Received undefined

This is an know issue as described here: ember-cli/ember-cli#3718.

We need to fix this in index.js to allow nested addon usage.

Why the use of `unbound` in the template?

I noticed that when I'd update the href property of light-box, I wouldn't see it change on the screen. Looking at the template I realized that all of those attributes were using the unbound helper. Any reason why that's being done? My workaround for now is just specifying my own image tag.

        {{#light-box
          href=myImageUrl
          inlineImage=false
          data-lightbox='id-image'
        }}
          <img src={{myImageUrl}} title='Some image' class='id-image' />
        {{/light-box}}

SyntaxError: Unexpected identifier

Hello!
When run: ember g ember-cli-lightbox

Unexpected identifier
SyntaxError: Unexpected identifier
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Function.Blueprint.load (/home/ubuntu/workspace/rzk-ember/node_modules/ember-cli/lib/models/blueprint.js:1276:29)
    at Function.Blueprint.lookup (/home/ubuntu/workspace/rzk-ember/node_modules/ember-cli/lib/models/blueprint.js:1253:24)
    at CoreObject.module.exports [as beforeRun] (/home/ubuntu/workspace/rzk-ember/node_modules/ember-cli/lib/utilities/merge-blueprint-options.js:24:27)

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.