Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component, Input } from '@angular/core';
- import { Schedule } from './schedule';
- import { Scheduler } from 'rxjs';
- @Component({
- selector: 'app-dashboard-schedule',
- templateUrl: './dashboard-schedule.component.html',
- styleUrls: ['./dashboard-schedule.component.scss']
- })
- export class DashboardScheduleComponent{
- @Input() title: string = 'Horario del restaurante';
- @Input() subtitle: string = 'Horario del restaurante en la semana';
- @Input() day_wk_a: string = 'Lunes a viernes';
- @Input() day_wk_b: string = 'Sabado';
- @Input() day_wk_c: string = 'Domingo';
- @Input() from_sche: string = 'Desde:';
- @Input() to_sche: string = 'Hasta:';
- @Input() day_fes: string = 'Día';
- @Input() day_des: string = 'Descripción';
- @Input() name_main: string = 'Nombre';
- @Input() btn_submit: string = 'Enviar';
- @Input() title_fes: string = 'Días festivos';
- model = new Schedule('12:00', '12:00', '12:00', '12:00', '12:00', '12:00','Nombre','Descripcion','12/12/2021');
- submitted = false;
- public onSubmit() {
- this.submitted = true;
- }
- constructor() { }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement