@swimlane/docspa-search
v8.0.4
Published
<small>(optional, external)</small>
Downloads
8
Maintainers
Readme
DocspaSearchComponent
(optional, external)
This module full text search to DocSPA.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { DocspaCoreModule } from '@swimlane/docspa-core';
import { DocspaSearchComponent } from '@swimlane/docspa-search';
import { AppComponent } from './app.component';
import { config } from '../docspa.config';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
DocspaCoreModule.forRoot(config),
DocspaSearchComponent
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Usage
Custom element: <md-search>
Used to include full-text search.
<md-search summary="SUMMARY"></md-search>