Module: UI::DrawerCloseBehavior

Included in:
DrawerClose, DrawerCloseComponent
Defined in:
app/behaviors/ui/drawer_close_behavior.rb

Overview

Shared behavior for Drawer Close component Closes drawer on click

Instance Method Summary collapse

Instance Method Details

#drawer_close_data_attributesObject

Data attributes for close button



7
8
9
# File 'app/behaviors/ui/drawer_close_behavior.rb', line 7

def drawer_close_data_attributes
  {data: {action: "click->ui--drawer#close"}}
end