File

src/app/components/app-help/app-help.component.ts

Implements

OnInit

Metadata

selector app-help
styleUrls app-help.component.css
templateUrl ./app-help.component.html

Index

Methods

Constructor

constructor(helpService: HelpService)
Parameters :
Name Type Optional
helpService HelpService No

Methods

help
help(helpquery: )
Parameters :
Name Optional
helpquery No
Returns : void
import { Component, OnInit } from '@angular/core';
import { HelpService } from 'src/app/services/help.service';

@Component({
  selector: 'app-help',
  templateUrl: './app-help.component.html',
  styleUrls: ['./app-help.component.css']
})
export class AppHelpComponent implements OnInit {
  constructor(private helpService: HelpService) {}

  ngOnInit() {}
  help(helpquery) {
    this.helpService.save(helpquery);
    setTimeout(() => {
      this.helpService.save(null);
    }, 1000);
  }
}
<!-- 
    This file is part of Web Virtual DJ.

    Web Virtual DJ is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Web Virtual DJ is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Web Virtual DJ.  If not, see <https://www.gnu.org/licenses/>.
-->
<div class="help-container" id="app_help">
  <div class="margins">
    <p>{{ 'HELP.START' | translate }}</p>
    <p>{{ 'HELP.FEATURES' | translate }}</p>
    <ul>
      <li (click)="help('play')" id="app_help_play"> <img (dragstart)="$event.preventDefault()" draggable="false"
          class="icon" src="assets/images/question.png">
        {{ 'HELP.PLAY' | translate }}</li>

      <li (click)="help('maindeckvolume')" id="app_help_main_deck_volume"><img (dragstart)="$event.preventDefault()"
          draggable="false" class="icon" src="assets/images/question.png"> {{ 'HELP.MDECKVOLUME' | translate }}</li>

      <li (click)="help('mastervolume')" id="app_help_master_volume"><img (dragstart)="$event.preventDefault()"
          draggable="false" class="icon" src="assets/images/question.png">
        {{ 'HELP.MVOLUME' | translate }}</li>

      <li (click)="help('equalizer')" id="app_help_play_equalizer"><img (dragstart)="$event.preventDefault()"
          draggable="false" class="icon" src="assets/images/question.png">
        {{ 'HELP.EQUALIZER' | translate }}</li>

      <li (click)="help('cue')" id="app_help_play_cue"><img (dragstart)="$event.preventDefault()" draggable="false"
          class="icon" src="assets/images/question.png">
        {{ 'HELP.CUE' | translate }}</li>

      <li (click)="help('pitch')" id="app_help_play_pitch"><img (dragstart)="$event.preventDefault()" draggable="false"
          class="icon" src="assets/images/question.png">
        {{ 'HELP.PITCH' | translate }}</li>

      <li (click)="help('loop')" id="app_help_play_loop"><img (dragstart)="$event.preventDefault()" draggable="false"
          class="icon" src="assets/images/question.png">
        {{ 'HELP.LOOPS' | translate }}</li>

      <li (click)="help('effects')" id="app_help_play_effects"><img (dragstart)="$event.preventDefault()"
          draggable="false" class="icon" src="assets/images/question.png">
        {{ 'HELP.EFFECTS' | translate }}</li>


    </ul>
  </div>
</div>

result-matching ""

    No results matching ""