Sha256: a2e84a0eca0cb2dc0ccbf2e1862a83c393b27f606c2e16811b2bc5304341feaf
Contents?: true
Size: 861 Bytes
Versions: 5
Compression:
Stored size: 861 Bytes
Contents
module Tay class Specification ## # A packaged app is included on the user's New Tab screen. They cannot have # page or browser actions. # # http://code.google.com/chrome/extensions/apps.html class PackagedApp ## # When your app is launched, this is the path to the HTML file that will # be loaded attr_accessor :page attr_reader :container attr_reader :width, :height ## # If you app should appear in its own panel, call this method, supplying # the width and height of said panel def appears_in_panel(width, height) @container = 'panel' @width = width @height = height end ## # If you app should appear in a standard tab (default) call this method. def appears_in_tab @container = 'tab' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems