Preetham Thangamma

Preetham Thangamma

  • 2k
  • 127
  • 3.4k

how to fetch data to params

Jul 28 2021 1:25 PM

Good Evening,

 

  ngOnInit() {

    this.documenttype1();

  this.indphr=0;

    this.route.params.subscribe(params => {

      this.claim_doc_code = params['cl_doc_code'];

      this.claim_doc_year = params['cl_doc_year'];

      this.claim_doc_no = params['cl_doc_no'];

 

 

in the above code,how to fetch the data to     "params['cl_doc_code'];"


Answers (2)