npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

scania-angular-ui

v3.2.0

Published

This repository contains all Scania extensions, you can either download it or download extensions you like to use separately.

Downloads

5

Readme

scania-angular-ui Join the chat at https://gitter.im/scania-bootstrap/scania-angular-ui

This repository contains all Scania extensions, you can either download it or download extensions you like to use separately.

Scania-angular-ui is a set of native AngularJS extensions including a for file upload and gallery on AngularJs framework and a selection box with support for searching, tagging, ng-model, ng-repeat, native HTML select and option tags. The -tpls file contains the templates bundled in JavaScript, include it if you want to use default templates we provide or load your custom templates.

###Demo file upload ###Demo lightbox ###Demo select

Getting Started

##Requirements

Bootstrap Angular animate flow/ng-flow Select2 V3.5.2 select2-bootstrap-css V1.4.6 Underscore JQuery

Installation

  npm install scania-angular-ui

This will install scania-angular-ui in your node_modules directory and all dependencies in your bower_components directory

 OR
      bower install scania-angular-ui

This will install scania-angular-ui and all dependencies in your bower_components directory

#Usage

Add the following script to your index.html file and you are good to go :

ROOT_DIR = bower_components or node_modules

<link href="<ROOT_DIR>/bootstrap/3.3.4/css/bootstrap.min.css"  rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css"  href="<ROOT_DIR>/scania-angular-ui/src/ui-bootstrap/ui-bootstrap-custom-0.13.4-csp.css">
<link rel="stylesheet" href="<ROOT_DIR>/select2-bootstrap-css/select2-bootstrap.min.css">
<link rel="stylesheet" href="<ROOT_DIR>/select2/select2.css"/><br/>
<link rel="stylesheet" type="text/css" href="<ROOT_DIR>/scania-angular-ui/css/scania-angular-ui.css" >

<script type="text/javascript" src="<ROOT_DIR>/jquery/jquery.js"></script>
<script type="text/javascript" src="<ROOT_DIR>/underscore/underscore.js"></script>
<script src="<ROOT_DIR>/select2/select2.js"></script>
<script src="<ROOT_DIR>/flow.js/dist/flow.js"></script>
<script src="<ROOT_DIR>/ng-flow/dist/ng-flow.js"></script>
<script src="<ROOT_DIR>/scania-angular-ui/src/ui-bootstrap/ui-bootstrap-custom-tpls-0.13.4.min.js"></script>

<script src="<ROOT_DIR>/scania-angular-ui/src/scania-angular-ui.js"></script>
<script src="<ROOT_DIR>/scania-angular-ui/src/scania-angular-ui-tpls.js"></script> (if you want to use default templates boudled with scania-angular-ui)

Next inject the directive into your app

For the full version just change the dependency injection to

   angular.module('yourapp', ['scania.angular.ui']);

##Custom builds

scania-angular-ui provides independently built modules that can be loaded separately

    angular.module('yourapp', [ 'scania.angular.select2', 'scania.angular.lightbox' ]);

#Example

A complete example can be found on respective extension.

Lightbox Select

Contributions

If you want to contribute, please:

* Fork the project.
* Run test (karma start karma.config.js)
* Make your feature addition or bug fix and test it.
* Run test to make sure you haven't break anything.
* Send me a pull request on Github.

License

scania-angular-ui is released under the MIT License.