henryruhs/ngx-crud

Introduce getter and setter to handle single values

henryruhs opened this issue · 1 comments

Needed helpers:

  • getParam
  • setParam
  • getHeader
  • setHeader

Example for setting a single parameter;

public setParam(name: string, value: string): this
{
    return this.setParams(
        this.getParams().set(name, value)
    );
   return this;
}

Done