0.0.7 • Published 6 years ago

aafilter2 v0.0.7

Weekly downloads
21
License
-
Repository
-
Last release
6 years ago

N|Solid

Filter Module

Filter module built with Angular 6 and angular material

Requirements

Angular material:

  • Alternative 1: Install with Angular CLI ng add @angular/material
  • Alternative 2: Install with NPM / Yarn https://material.angular.io/guide/getting-started

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

NameDescription
@Input() endpoint: stringEndpoint to make queries
@Input() cardEndpoint: stringEndpoint to get card dimensions
@Input() dimensions: stringCard dimensions
0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago