Giter Site home page Giter Site logo

angular-accordion's People

Contributors

acegautam avatar chuckpierce avatar jonj12 avatar mariuskubilius avatar nargonath avatar thoughtpalette avatar timbuethe avatar urielaero avatar uxxman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

angular-accordion's Issues

add correct files to bower

You forgot to add your css, which is needed for the workings of your module. Use the following section for main (also in "_bower.json" !) to accomplish that:

"main": [
"css/ang-accordion.css",
"js/js/ang-accordion.js"
],

Ability to disable an accordion pane

Would be great to add the ability to prevent an accordion from being clickable (ie. depending on the state of the app). Possibly add styling to indicate it is disabled.

Any chance you can do this or look at a P.R?

make angular-accordion available for easy bower download

Hello,
using bower for dependency management I currently have to use something like

"ang-accordion": "git://github.com/sherwaniusman/angular-accordion.git"

It would be nice if you could start tagging your versions, so I could use

"ang-accordion": "1.0.0"

instead.
In addition it might be necessary to change the name in your bower.json to "ang-accordion" as this is where http://bower.io/search/ finds your great package.

Regards, Martin

Does not work in certain condition on mobile

Hello, and thank you for this code. I greatly appreciate it. I'm teaching myself AngularJS and am using it to rebuild a website, and found your library to duplicate what I was doing with jQuery-UI on the old website. I have found a problem, though, and since I'm a noob, I'm not sure how to fix it.

I have the site up at a temporary location right now. I have one page (fpcdev.azurewebsites.net/about) that did have two separate accordions, but when viewed on mobile, the top accordion did not function. I changed it all to be in one accordion, but with that, none of it works on mobile. I can duplicate this in a desktop browser by making the browser narrow. It seems to be at the point where the bootstrap class changes from "col-md-8 col-md-offset-2" to "col-xs-12" where the problem occurs. If I remove the col-xs-12 from the class of the div, the accordion works properly.

Do you have any suggestions for me? I greatly appreciate it.

Controller 'angAccordion', required by directive 'collapsibleItem', can't be found!

I am using the accordion on a dashboard:

<table class="table grey-background" ng-hide="newSurveyFromTemplate"> <thead> <tr><!-- headers --> <th>Select a Template to Use</th> </tr> </thead> <ang-accordion> <tr class="survey-template" ng-repeat="template in templates" id="{{$index}}"> <collapsible-item item-title="{{template.name}}"> <button ng-click="useTemplate(template)">Use</button> <div class="template-question" ng-repeat="q in template.questions"> {{q}} </div> </collapsible-item> </tr> </ang-accordion> </table>

I initially included the library like this:
.module('app',['ngAnimate', "ngSanitize", "mgcrea.ngStrap", 'angular-google-analytics', 'ngCookies', 'ngclipboard', 'ng.deviceDetector', 'angAccordion'])

Any idea why it can't find the controller?

NPM install

Using the NPM repository pulls in a 0KB js file

Allow returning value when requiring/importing the lib

Would be nice if we could use the lib as is:

import angAccordion from 'ang-accordion';

angular.module('myApp', [angAccordion]);

instead of the current:

import 'ang-accordion';

angular.module('myApp', ['angAccordion']);

If you are ok with this, I'll be happy to make a PR. ๐Ÿ‘

Thanks for your library.

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.