class Stimulus::Controller

Defined in:

stimulus/controller.cr

Constant Summary

ATTR_NAME = "data-controller"

Class Method Summary

Macro Summary

Class Method Detail

def self.controller_name #

[View source]
def self.param(name, value) #

[View source]
def self.to_html_attrs(_tag, attrs) #

[View source]
def self.to_s(io) #

[View source]

Macro Detail

macro action(name, &blk) #

[View source]
macro outlets(*outlet_controllers) #

[View source]
macro targets(*names) #

[View source]
macro values(**names) #

[View source]