Advertisement
xxxxbe

tsModule.ts

Jun 30th, 2020
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { Component, Input } from '@angular/core';
  2. import  { Schedule } from './schedule';
  3. import { Scheduler } from 'rxjs';
  4.  
  5. @Component({
  6.   selector: 'app-dashboard-schedule',
  7.   templateUrl: './dashboard-schedule.component.html',
  8.   styleUrls: ['./dashboard-schedule.component.scss']
  9. })
  10. export class DashboardScheduleComponent{
  11.   @Input() title: string = 'Horario del restaurante';
  12.   @Input() subtitle: string = 'Horario del restaurante en la semana';
  13.   @Input() day_wk_a: string = 'Lunes a viernes';
  14.   @Input() day_wk_b: string = 'Sabado';
  15.   @Input() day_wk_c: string = 'Domingo';
  16.   @Input() from_sche: string = 'Desde:';
  17.   @Input() to_sche: string = 'Hasta:';
  18.   @Input() day_fes: string = 'Día';
  19.   @Input() day_des: string = 'Descripción';
  20.   @Input() name_main: string = 'Nombre';
  21.   @Input() btn_submit: string = 'Enviar';
  22.   @Input() title_fes: string = 'Días festivos';
  23.  
  24.   model = new Schedule('12:00', '12:00', '12:00', '12:00', '12:00', '12:00','Nombre','Descripcion','12/12/2021');
  25.  
  26.   submitted = false;
  27.  
  28.   public onSubmit() {
  29.     this.submitted = true;
  30.   }
  31.  
  32.   constructor() { }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement