@ngx-toolkit/spring

Angular spring utilities

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ngx-toolkit/spring
171513.2.12 years ago6 years agoMinified + gzip package size for @ngx-toolkit/spring in KB

Readme

npm version MIT License Build Status Coverage Join the chat at https://gitter.im/ngx-toolkit/Lobby
@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) with `toHttpParams(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
MIT