@wlocalhost/ngx-primeng-email-builder v0.0.1-beta.5
PrimeNG Email Builder Library
This library provides a set of components and services to build email templates using PrimeNG. It is built on top of NGB Email Builder and PrimeNG.
The installation instructions provided here are intended for demo purposes only. For more information on how to install and use the PrimeNG Email Builder, please refer to the documentation.
Before using the PrimeNG Email Builder, you need to:
- Have PrimeNG installed in your project.
- Add
@angular/localizeand@angular/cdkto your project.
Installation
First, install the PrimeNG Email Builder with its dependencies:
npm install @wlocalhost/ngx-primeng-email-builder @wlocalhost/ngx-email-builder recursive-diffThen, add the PrimeNG Email Builder module to your application:
import { PrimengEmailBuilderModule } from "@wlocalhost/ngx-primeng-email-builder";
@NgModule({
imports: [
PrimengEmailBuilderModule.forRoot({
licenseKey: "your-license-key", // use your own license key for paid versions
convertorPath: "https://your-custom-path.com", // use your own converter
historyRecordLimit: 10 // save 10 history records
})
]
})
export class AppModule {
}For a full list of available options, check out the configuration options page.
Use the Builder in Your Application
<prime-email-builder [(value)]="email"></prime-email-builder>Where email is an IPEmail class:
import { IPEmail } from "@wlocalhost/ngx-email-builder";
@Component({ ... })
export class AppComponent {
email = new IPEmail();
}For more information on how to use the PrimeNG Email Builder, please refer to the documentation.
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago