ngx-replace
v15.0.2
Published
Angular Replace Pipe
Downloads
7
Maintainers
Readme
NGX-REPLACE
Runtime replace pipe.
Supported version:
Angular 15
Installation
To install this library, run:
npm i ngx-replace
Usage
Import in your Angular app:
// Import ngx-replace
import {NgxReplacePipe} from "ngx-replace";
@NgModule({
declarations: [
AppComponent
],
imports: [
NgxReplacePipe,
],
bootstrap: [AppComponent]
})
export class AppModule {
}
<p>{{'My name is %name' | ngxReplace: '%name' : 'Mustafa'}}</p>