Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
stimulus
v0.5.0
Stimulus
Action
Controller
Outlet
Param
Target
Value
Generated using Crystal 1.14.0
2024-11-16 05:17:59 UTC
class
Stimulus::
Target
Stimulus::Target
Reference
Object
Defined in:
stimulus/target.cr
Constructors
.new
(controller_name : String, target_name : String)
Instance Method Summary
#attr_name
#controller_name
: String
#target_name
: String
#to_html_attrs
(_tag, attrs)
#to_s
(io)
Constructor Detail
def self.
new
(controller_name : String, target_name : String)
#
[
View source
]
Instance Method Detail
def
attr_name
#
[
View source
]
def
controller_name
: String
#
[
View source
]
def
target_name
: String
#
[
View source
]
def
to_html_attrs
(_tag, attrs)
#
[
View source
]
def
to_s
(io)
#
[
View source
]