Fantom

 

class flux::LoadMode

sys::Obj
  flux::LoadMode

Source

LoadMode is used to configure how a resource is loaded into view such as whether to use a new tab.

addToHistory

Bool addToHistory := true

Source

If true then the uri is added to the browser's history. Typically only predefined commands like back, forward, or reload should set this to false.

make

new make(Event? event := null)

Source

Construct with an optional user event. If the user was holding down the Ctrl key (Command for Macs), then set newTab to true.

newTab

Bool newTab := false

Source

If true, then load using a new tab in the current window.