Sha256: 4b87ee95adf1e53ad91d723f68192e64c1e723cf16af29a1b5192920f964e158

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

Shoes.app do
  slot = stack do
    background lightsteelblue
    para 'Some content'
    button 'Hello' do
      alert 'hi there'
    end
  end

  button 'Show' do
    slot.show
  end
  button 'Hide' do
    slot.hide
  end
  button 'Toggle' do
    slot.toggle
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_visibility.rb