Class: Playbook::PbDialog::Dialog

Inherits:
Object
  • Object
show all
Includes:
Playbook::Props
Defined in:
app/pb_kits/playbook/pb_dialog/dialog.rb

Instance Method Summary collapse

Methods included from Playbook::Props

#initialize, #prop

Instance Method Details

#dialog_optionsObject



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'app/pb_kits/playbook/pb_dialog/dialog.rb', line 26

def dialog_options
  {
    id: id,
    ref: ref,
    trigger: trigger,
    className: classname,
    cancelButton: cancel_button,
    closeable: closeable,
    confirmButton: confirm_button,
    onCancel: oncancel,
    onChange: onchange,
    onClose: onclose,
    onConfirm: onconfirm,
    opened: opened,
    size: size,
    text: text,
    title: title,
  }
end