Module
Electron.BrowserWindow
- Package
- purescript-electron
- Repository
- cjduncana/purescript-electron
#BrowserWindowOption Source
#BrowserWindow Source
data BrowserWindow :: Type#newBrowserWindow Source
newBrowserWindow :: forall eff. BrowserWindowOptions -> Eff (electron :: ELECTRON | eff) BrowserWindow#WebContents Source
data WebContents :: Type#webContents Source
webContents :: forall eff. BrowserWindow -> Eff (electron :: ELECTRON | eff) WebContents#openDevTools Source
openDevTools :: forall eff. WebContents -> DevToolOptions -> Eff (electron :: ELECTRON | eff) UnitOpens the devtools.
#DevToolOptions Source
type DevToolOptions = Array DevToolOption#onDidFinishLoad Source
onDidFinishLoad :: forall eff. WebContents -> Eff (electron :: ELECTRON | eff) Unit -> Eff (electron :: ELECTRON | eff) Unit#onNewWindow Source
onNewWindow :: forall eff. WebContents -> (Event -> String -> Eff (electron :: ELECTRON | eff) Unit) -> Eff (electron :: ELECTRON | eff) Unit