Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ionic.atlas.progress

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ionic.atlas.progress

A header progress bar using the style of Uber

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ionic.atlas.progress

An Ionic progress bar for the Ionic header using the uber style

Status

npm version Bower version GitHub license

Demo

Ionic Atlas Progress Demo Image

Ionic Play Demo

Using

Installing via bower

bower install ionic.atlas.progress

Add the following to your index.html:

<link href="lib/ionic.atlas.progress/dist/ionic.atlas.progress.min.css" rel="stylesheet">
<script src="lib/ionic.atlas.progress/dist/ionic.atlas.progress.min.js"></script>

Installing via npm

npm install ionic.atlas.progress

Add the following to your index.html:

<link href="node_modules/ionic.atlas.progress/dist/ionic.atlas.progress.min.css" rel="stylesheet">
<script src="node_modules/ionic.atlas.progress/dist/ionic.atlas.progress.min.js"></script>

Integrate into app

Add the plugin to your app:

angular.module('yourApp', ['ionic', 'atlasProgress'])

Now you can use the directive:

<ion-header-bar class="bar-stable">
    <h1 class="title">Your App Title</h1>
    <atlas-progress class="atlas-progress-positive"></atlas-progress>
</ion-header-bar>

Custom Color

If you want to use a custom color, instead of the Ionic class color scheme, you can do so. Just simply extend the directive with an color attribute:

<atlas-progress color="'#7658f6'"></atlas-progress>

If you at a color attribute and has specified a color with the Ionic class scheme, the color attribute will be used. The Ionic class color scheme will be ignored.

If the color attribute is undefined the specified Ionic class scheme will be used.

Change speed

The speed of the animation has three states:

  1. slow
  2. default
  3. fast

You able to change the speed using the speed attribute:

<atlas-progress speed="2" class="atlas-progress-positive"></atlas-progress>

If no speed attribute is added, the default speed will be used.

FAQs

Package last updated on 16 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc