Pass model assigned value to component in angular

177 Views Asked by At
import { IJobScheduleFrequency } from "../interfaces/job-schedule-frequency.interface";

export class JobSchedule {
  constructor(
    public dagName: string = "My First dag",
    public folderName?: string,
    public dataLineID?: string,
    
  ) { }
}

I need to pass this dagName into jobscheduler.component.ts file. How can I get the dagName in component.

0

There are 0 best solutions below