Home Manual Reference Source Test Repository
public class | source

PageTitle

Sets the page title.

Static Member Summary

Static Public Members
public static get

The class decorators.

public static get

The constructor parameters.

Constructor Summary

Public Constructor
public

constructor(document: DocumentRef, element: ElementRef, title: Title)

Initializes a new instance of the class.

Member Summary

Public Members
public get

The text of the page title.

public set

text(value: string): *

Sets the text of the page title.

Static Public Members

public static get annotations: Array source

The class decorators.

public static get parameters: Array source

The constructor parameters.

Public Constructors

public constructor(document: DocumentRef, element: ElementRef, title: Title) source

Initializes a new instance of the class.

Params:

NameTypeAttributeDescription
document DocumentRef

The service providing access to the HTML document.

element ElementRef

The service providing access to the underlying element.

title Title

The service providing access to the document title.

Public Members

public get text: string source

The text of the page title.

public set text(value: string): * source

Sets the text of the page title.