pageTitle

Page

Sets the name and icon in the titlebar of the page.

$m.pageTitle("Orders", "images/order.png");

Syntax

        $m.pageTitle(title)

        $m.pageTitle(title, titleIcon)

Parameters

title

string (required)

The title string to set on the title bar of the page. The string can be a plain text or a Html formatted content.

titleIcon

string (optional)

The url or base64 encoded data string of the image to set on the title bar of the page.

Return value

title - {Object}. The title juci control.

Remarks

If only icon is required, set title parameter to empty string.