Class: Protos::Command::Trigger

Inherits:
Protos::Component show all
Defined in:
lib/protos/command/trigger.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: A trigger is a button that opens a command palette modal



8
9
10
# File 'lib/protos/command/trigger.rb', line 8

def view_template(&)
  button(**attrs, &)
end