sv-search-highlight
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-1 • Public • Published

Angular Shortcode

SvSearchHighlight

Table of Contents

Demo


Angular Shortcode

Installation


Install with NPM

npm i sv-search-highlight

Options


Name Type Default Value Description
value any The main text
search string The search text

Usage


Import SvSearchHighlightModule in your app

import { SvSearchHighlightModule } from 'sv-search-highlight';

@NgModule({
  imports: [
    ...
      SvSearchHighlightModule
  ],
  ...
})
export class AppModule { }

Example


<input [(ngModel)]="search">
<div [innerHTML]="value | svSearchHighlight : search"></div>

Author


Mehdi Sadeghian Samira Vahidi

Contact


github

linedIn

twitter

/sv-search-highlight/

    Package Sidebar

    Install

    npm i sv-search-highlight

    Weekly Downloads

    0

    Version

    0.0.1-1

    License

    none

    Unpacked Size

    17.7 kB

    Total Files

    17

    Last publish

    Collaborators

    • svahidi
    • sadeghianme