@wlocalhost/ngx-md-email-builder v0.1.3
Angular Material Email Builder Library
This library provides a set of components and services to build email templates using Angular Material. It is built on top of NGB Email Builder and Angular Material.
The installation instructions provided here are intended for demo purposes only. For more information on how to install and use the Material Email Builder, please refer to the documentation.
Before using the Material Email Builder, you need to:
- Have Angular Material installed in your project.
- Add
@angular/localizeand@angular/cdkto your project.
Installation
First, install the Material Email Builder with its dependencies:
npm install @wlocalhost/ngx-md-email-builder @wlocalhost/ngx-email-builder recursive-diffThen, add the Material Email Builder module to your application:
import { MaterialEmailBuilderModule } from "@wlocalhost/ngx-md-email-builder";
@NgModule({
imports: [
MaterialEmailBuilderModule.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
<md-email-builder [(value)]="email"></md-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 Material 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
3 years ago