GS1UiShowTitle - Gs1TestTeam/GS1_Angular_Prototype GitHub Wiki

GS1UiShowTitle:

Displays the title of each page and can be easily formatted from one location, using the component's css file.

Component contains variable

@Input() pageTitle:string;

that receives the title from a title variable in the parent component

pageTitle: string = "GS1 Google Analytics List";

then displays it on the page

<p>
  {{pageTitle}}
</p>

end result: example_image