Class: Tuile::Component::HasBadInput::BadInputChangeEvent

Inherits:
Data
  • Object
show all
Includes:
Event
Defined in:
lib/tuile/component/has_bad_input.rb,
sig/tuile.rbs

Overview

What #on_bad_input_change fires.

Instance Attribute Summary collapse

Instance Attribute Details

#message ⇒ String? (readonly)

@return — the showable report, nil when there is none to show — the input converts, or the latch has not settled yet.

Returns:

  • (String, nil)


73
# File 'lib/tuile/component/has_bad_input.rb', line 73

BadInputChangeEvent = Data.define(:source, :message) { include Tuile::Event }

#source ⇒ Component (readonly)

@return — the field whose report changed.

Returns:



73
# File 'lib/tuile/component/has_bad_input.rb', line 73

BadInputChangeEvent = Data.define(:source, :message) { include Tuile::Event }