Skip to content

PMSI-AlignAlytics/aafilter

Repository files navigation

Filter Module

Description

Filter module built with Angular 6 and Angular material to be able to filter Dimensions and make the correspondent queries

Requirements

Getting started

  1. In your application npm i aafilter

  2. Add FilterModule to the imports in app.module.ts
    e.g. app.module.ts

     import { BrowserModule } from '@angular/platform-browser';  
     import { NgModule } from '@angular/core';  
     import { BrowserAnimationsModule } from '@angular/platform-browser/animations';  
     import { AppComponent } from './app.component';  
     import {AafilterModule} from 'aafilter2';
    
     @NgModule({  
      declarations: [  
        AppComponent,  
      ],  
      imports: [  
        BrowserModule,  
        BrowserAnimationsModule,  
        AafilterModule,  
      ],  
      providers: [],  
      bootstrap: [AppComponent]  
    })  
    export class AppModule { }
    
  3. Add directive <aa-filter></aa-filter> to the component template where you want to use the filter

Directive properties

Name Description
@Input()
endpoint: string
Endpoint to make queries
@Input()
cardEndpoint: string
Endpoint to get card dimensions
@Input()
dimensions: string
Card dimensions

Debug and Publish library on NPM

https://github.com/AAMarcosHannecke/aafilter/wiki/Debug-and-Publish-library-to-NPM

N|Solid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published