Sha256: 572a172d8630578c1d9205b2491503eb178d898d256b286ef2952cc528f3bcff
Contents?: true
Size: 451 Bytes
Versions: 28
Compression:
Stored size: 451 Bytes
Contents
module Lookbook class Viewport::Component < Lookbook::BaseComponent def initialize(src:, resize_height: true, resize_width: true, max_height: nil, iframe_id: nil, **html_attrs) @src = src @resize_height = resize_height @resize_width = resize_width @max_height = max_height @iframe_id = iframe_id super(**html_attrs) end protected def alpine_component "viewportComponent" end end end
Version data entries
28 entries across 28 versions & 1 rubygems