Sha256: a1ca8933247a74bfceadce9b4e8cb050545f5ea7b20f16accfe83143d009db83

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 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.pre12 samples/simple_visibility.rb