New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ngx-mat-query-search

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-mat-query-search

[Demo](https://128keaton.github.io/NgxMaterialQuerySearch/)

latest
Source
npmnpm
Version
0.6.0
Version published
Maintainers
1
Created
Source

NgxMaterialQuerySearch npm version

Demo

Usage

  • Import the module:
  imports: [
  QuerySearchModule.forRoot({
    loggingCallback:  (...args) => {
      console.log(...args);
    },
    debug: true,
    encode: false
  }),
]
  • Use in a component template:
<ngx-query-search>
  <query-fields>
    <query-field name="name" label="Full Name" type="string"></query-field>
    <query-field name="hasValues" label="Has Values" type="string" [values]="['a', 'b']"></query-field>
    <query-field name="birthday" label="Birthday" type="date" format="dd/MM/yyyy"></query-field>
    <query-field name="joinDay" label="Join Date" type="date" format="MM/dd"></query-field>
  </query-fields>
</ngx-query-search>
  • Use the service to consume the output:
 constructor(private querySearchService: QuerySearchService) {
  this.querySearchService.queryUpdated.subscribe(newQueryObject => this.queryObject = newQueryObject);
  this.querySearchService.queryStringUpdated.subscribe(newQueryString => this.queryString = newQueryString);
}

FAQs

Package last updated on 12 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts