1.0.2 • Published 6 years ago

cap-page-header v1.0.2

Weekly downloads
9
License
-
Repository
-
Last release
6 years ago

CapPageHeader

This library was generated with Angular CLI version 8.0.3.

It is a re-usable component for the page titles in the CAP project.

Code scaffolding

Import "CapPageHeaderModule" in the Module file

import { NgModule } from '@angular/core'; import { CapPageHeaderModule } from 'cap-page-header';

@NgModule({ declarations: , imports: CapPageHeaderModule , providers: [], bootstrap: }) export class AppModule { }

add html selector in the Html template file

<lib-cap-page-header page="headerData">

add object in the in the Component file

import { Component } from '@angular/core';

@Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: './app.component.scss' }) export class AppComponent {

title = 'ca-page-application';

headerData ={ title:"some title", src:"image url", description:"description" }

}

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago