open-index/open-npm huggingface dataset:
npm package: @jojovms/angular-spotlight-tour
Description: Guidō: An Angular wrapper (service & directive) for the formatted spotlight tour library.
Author: Shijo Shaji
Latest version: 0.0.2

# @jojovms/angular-spotlight-tour

Angular wrapper for `@jojovms/spotlight-tour-core`.

## Installation

```bash
npm install @jojovms/angular-spotlight-tour
```

## Usage

```typescript
import { Component } from '@angular/core';
import { SpotlightTourService } from '@jojovms/angular-spotlight-tour';

@Component({...})
export class AppComponent {
  constructor(private tourService: SpotlightTourService) {}

  startTour() {
    // 1. Initialize with options first
    this.tourService.init({
      steps: [
        { target: '#btn1', content: 'This is button 1' },
         { target: '#btn2', content: 'This is button 2' }
      ]
    });

    // 2. Start the tour
    this.tourService.start();
  }
}
```

## License

MIT © [Shijo Shaji](https://shijoshaji.in)