Module: Vident2::Stimulus
- Defined in:
- lib/vident2/stimulus/null.rb,
lib/vident2/stimulus/param.rb,
lib/vident2/stimulus/value.rb,
lib/vident2/stimulus/action.rb,
lib/vident2/stimulus/naming.rb,
lib/vident2/stimulus/outlet.rb,
lib/vident2/stimulus/target.rb,
lib/vident2/stimulus/class_map.rb,
lib/vident2/stimulus/collection.rb,
lib/vident2/stimulus/controller.rb
Defined Under Namespace
Modules: Naming Classes: Action, ClassMap, Collection, Controller, Outlet, Param, Target, Value
Constant Summary collapse
- Null =
Sentinel that serialises to the literal string “null”. Use in ‘value` / `param` positions where the Stimulus side expects a JSON-parsed JS `null` (Object / Array value types).
A bare ‘nil` drops the attribute entirely. Reach for Null only when you need an explicit `“null”` in the emitted HTML.
Object.new