Skip to content

GS1UiShowTitle

Gs1TestTeam edited this page Aug 17, 2018 · 11 revisions

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

Clone this wiki locally