Menu

Struct

TitleChange

kurogane::TitleChangeSource
pub struct TitleChange { /* private fields */ }

A page’s new title, passed to App::on_title_change.

Methods

#pub fn title(&self) -> &str

The title the page gave itself, its <title> or what a script set document.title to.

#pub fn browser(&self) -> Option<BrowserId>

The browser of the page.

#pub fn window(&self) -> Option<WindowId>

The window the page is in; none for a browser embedded in the application’s own window.

Trait implementations