dance-planner-contact
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Contact Options

Usage

In your HTML add the following:

<lib-contact [individualImpressumData]="individualImpressumData" [disclaimerStylingData]="disclaimerStylingData"></lib-contact>

In your ...component.ts add the following:

  @Input() individualImpressumData: any = this.getIndividualImpressumData();
  @Input() disclaimerStylingData: any = this.getDisclaimerStylingData();

  public getDisclaimerStylingData(): any {
    return {
      textAlign: 'center',
      bgColor: 'inherit'
    };
  }
  public getIndividualImpressumData(): any {
    return {
      name: '...',
      street: '...',
      extension: '...',
      zipCode: '69115',
      city: 'Heidelberg',
      phoneNumber: '...',
      eMail: '...',
      textAlign: 'center',
      bgColor: 'inherit'
    };
  }

In your app.module.ts add the following:

  imports: [
    ContactModule,

Readme

Keywords

none

Package Sidebar

Install

npm i dance-planner-contact

Weekly Downloads

2

Version

0.0.2

License

GNU GPL

Unpacked Size

40.1 kB

Total Files

26

Last publish

Collaborators

  • danceplanner