@ngx-toolkit/spring
Angular Spring utilities
Table of contents:
Installation
Install the npm package.
# To get the latest stable version and update package.json file:
npm install @ngx-toolkit/spring --save
# or
yarn add @ngx-toolkit/spring
Spring Data
Some Spring Data Commons classes:
-
Page<T>
type Sort(orders: string | string[] | Order[], direction: Direction = 'ASC')
-
PageRequest(page: number = 0, size: number = 20, sort?: Sort)
withtoHttpParams(options: { fromString?: string; fromObject?: { [param: string]: string | string[]; }; encoder?: HttpParameterCodec; } = {} as { fromString?: string; fromObject?: { [param: string]: string | string[]; }; encoder?: HttpParameterCodec; })
method to convert value in request params
License
© 2018 Dewizz