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

angular-walkthrough

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-walkthrough

Walkthrough, an Angular library

  • 0.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
70
decreased by-13.58%
Maintainers
1
Weekly downloads
 
Created
Source

Walkthrough

This Angular model is inspired in part by ng-walkthrough for AngularJS.

Installation

npm install angular-walkthrough

Requirements

  • Angular 4.0.0 and more
  • Angular/cdk 2.0.0-beta.12

Usage

Directive Attributes

  • id (optional): HTML id
  • focusElementSelector (optional): CSS selector for focus a HTML element. If the selector detect more that one, the only the first will be chosen.
  • radius (optional): apply a “borderRadius” on highlight zone. If number the value as change in percent. If auto use the focused element borderRadius. If it's a simple string, use it without changes. By defaut, no radius.
  • previousStep (optional): add a ling to go to the previous ng-walkthrough.
  • nextStep (optional): add a ling to go to the next ng-walkthrough.
  • texts (optional): change texts. It's a overlay of WalkthroughText.
  • closeButton (optional): true for show the button. By defaut false.
  • showArrow (optional): true for show the arrow. By defaut false.
  • finishStep (optional): true for show a link to exit. By defaut false.
  • hasBackdrop (optional): true for show a dark backdrop around the focus element. By defaut false.
  • hasGlow (optional): true for show a glow on the focus element. By defaut false.
  • contentTemplate (optional): add a ng-template with your description.

Change texts

It's possible to change add texts. With the texts directive attribute.

WalkthroughText {
    previous = 'Previous';
    next     = 'Next';
    close    = 'Close';
}

## License

Like Angular, this module is released under the permissive MIT license. Your contributions are always welcome.

Keywords

FAQs

Package last updated on 10 Oct 2017

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