File

src/app/share/share.service.ts

Index

Methods

Constructor

constructor()

Methods

isDev
isDev()
Returns : boolean
showIntro
showIntro()
Returns : any
import { Injectable } from '@angular/core';
import * as introJs from 'intro.js';

@Injectable({
  providedIn: 'root'
})
export class ShareService {

  constructor() { }

  showIntro() {
    return introJs().setOptions({
      nextLabel: '下一步',
      prevLabel: '上一步',
      doneLabel: '完成'
    });
  }

  isDev() {
    // console.log('ShareService.isDev()', environment.production);
    return true;
  }
}

result-matching ""

    No results matching ""