mixinafReflux::Reflux

afReflux::Reflux

@Js

(Service) - The main API for managing a Reflux application.

activeView

Source

abstract View? activeView()

callLater

Source

abstract Void callLater(Duration delay, |->Void f)

closeView

Source

abstract Bool closeView(View view, Bool force)

copyToClipboard

Source

abstract Void copyToClipboard(Str text)

exit

Source

abstract Void exit()

getPanel

Source

abstract Panel? getPanel(Type panelType, Bool checked := true)

hidePanel

Source

abstract Panel hidePanel(Type panelType)

Hides the panel.

load

Source

abstract Void load(Str uri, LoadCtx? ctx := null)

loadResource

Source

abstract Void loadResource(Resource resource, LoadCtx? ctx := null)

preferences

Source

abstract RefluxPrefs preferences()

refresh

Source

abstract Void refresh(Resource? resource := null)

Refreshes the resource in all Views and Panels, and fires a refresh event.

replaceView

Source

abstract Void replaceView(View view, Type viewType)

resolve

Source

abstract Resource? resolve(Str uri, Bool checked := true)

Resolves the given URI into a Resource.

Throws UnresolvedErr if not found, or returns null if not checked.

saveAll

Source

abstract Void saveAll()

scope

Source

abstract Scope scope()

showPanel

Source

abstract Panel showPanel(Type panelType)

Shows the panel, or if the panel is already showing, activates it.

window

Source

abstract Window window()