Sha256: 172537d1fe73e739f755caad2a616772bf05044f4efe8e4218ee1c753a434d2a
Contents?: true
Size: 526 Bytes
Versions: 8
Compression:
Stored size: 526 Bytes
Contents
Coprl::Presenters.define(:halted) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do display 'Halted Events' body 'This demonstrates how to respond to failed, or halted events' content do button :failed_post do event :click do posts '_echo_', status: 500 end event 'V:eventsHalted' do snackbar 'That did not work! Please try again later.' end end end end attach :code, file: __FILE__ end
Version data entries
8 entries across 8 versions & 1 rubygems