Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Page.setIcon

$page.setIcon($url) -> self

Description

Set the URL of the shortcut icon (a.k.a favicon) of the page.

We recommend a png that is 32x32.

The URL should is relative to public folder (the document root).

$page.setIcon(url'/images/icon.png')

See Also