Quark
#
Modules #
quark/actionquark/appquark/bubblesquark/bufferquark/checkboxquark/cssquark/ctrquark/defsquark/dialogquark/eventquark/fontquark/fsquark/hashquark/httpquark/indexquark/jsonbquark/keyboardquark/lmdbquark/mediaquark/navquark/netquark/osquark/pathquark/pkgquark/screenquark/statequark/stepperquark/storagequark/testquark/typesquark/uriquark/utilquark/viewquark/windowquark/wsquark/_bufferquark/_commonquark/_decoratorsquark/_eventquark/_extquark/_md5quark/_sha1quark/_sha256quark/_utilquark/_watching
Quark v1.4.0 Documentation
Contents
quark/dialog #
Consts #
Default labels used by dialog action buttons and prompt input.
const Consts = {
Ok: "OK",
Cancel: "Cancel",
Placeholder: "Please enter..",
}
Class: Dialog #
Dialog #
Modal dialog controller with customizable content and action buttons.
Extends: Navigation
Type parameters: P = {}, S = {}
dialog.length #
buttons length
readonly length: Uint
dialog.title #
title: string
dialog.content #
content: string
dialog.autoClose #
autoClose: boolean
dialog.buttons #
buttons: RenderData[]
dialog.show() #
show()
dialog.close() #
close()
Class: Sheet #
Sheet #
Extends: Dialog
Type parameters: P = {}, S = {}
alert(window,msg,cb?) #
alert(window: Window, msg: string | object, cb?: Function): Dialog
Returns:
confirm(window,msg,cb?) #
confirm(window: Window, msg: string, cb?: Function): Dialog
Returns:
prompt(window,msg,cb?) #
prompt(window: Window, msg: string | object, cb?: Function): Dialog
Returns:
show(window,title,msg,buttons?,cb?) #
show(window: Window, title: string, msg: string, buttons?: RenderData[], cb?: Function): Dialog
Returns:
sheet(window,content) #
sheet(window: Window, content: string): Sheet
Returns:
sheetConfirm(window,buttons?,cb?) #
sheetConfirm(window: Window, buttons?: RenderData[], cb?: Function): Sheet
Returns:
Class: DialogController #
DialogController #
Extends: ViewController
Type parameters: P = {}, S = {}
dialogcontroller.alertDialog(msg,cb?) #
alertDialog(msg: string, cb?: any): Dialog
dialogcontroller.promptDialog(msg,cb?) #
promptDialog(msg: string | object, cb?: any): Dialog
dialogcontroller.confirmDialog(msg,cb?) #
confirmDialog(msg: string, cb?: any): Dialog
dialogcontroller.showDialog(title,msg,buttons?,cb?) #
showDialog(title: string, msg: string, buttons?: RenderData[], cb?: Function): Dialog
dialogcontroller.sheetDialog(content) #
sheetDialog(content: string): Sheet