Method: Browser::Window#confirm

Defined in:
opal/browser/window.rb

#confirm(value) ⇒ Object

Display a confirmation dialog with the passed string as text.



53
54
55
# File 'opal/browser/window.rb', line 53

def confirm(value)
  `#@native.confirm(value) || false`
end