
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
angular2-joyride
Advanced tools
An Angular Tour (Joyride) library built entirely in Angular, without using any heavy external dependencies like Bootstrap or JQuery. From now on you can easily guide your users through your site showing them all the sections and features.
See the demo. Let's take a tour! :earth_americas:
npm install angular2-joyride
joyrideStep
directive <h1 joyrideStep title="Page Title" text="Main title!" stepNumber="2">Text</h1>
JoyrideModule
in your AppModule@NgModule({
declarations: [AppComponent],
imports: [
JoyrideModule,
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
JoyrideService
in your Component and start the Tour@Component({
selector: 'app-component',
templateUrl: './app.component.html',
styleUrls: ['./app.component.sass'],
})
export class AppComponent {
constructor(private readonly joyrideService: JoyrideService) { }
onClick() {
this.joyrideService.startTour();
}
}
You can use the joyrideStep
directive with these inputs:
@Input | Required | Purpose | Values |
---|---|---|---|
stepNumber | Yes | The order in which the step should appear during the tour. | 1, ..., n |
stepPosition | No | The position in which the step will be drawn. | 'top', 'bottom' |
title | No | The step title. | string |
text | No | The step text content. | string |
MIT
FAQs
Angular 2 Joyride Library
We found that angular2-joyride demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.