class

Opal::FormModule::ConfirmField

Inherits Opal::FormModule::FormField < Reference < Object

Confirmation toggle (Yes / No)

Constructors

new(name : String, label : String, default : Bool = false)
Source

Instance methods

handle_key(key : Terminal::Key) : Bool
Source
raw_value
Source
render(buffer : UI::Buffer, x : Int32, y : Int32, width : Int32) : Int32
Source
value=(value : Bool)
Source
value?
Source