Sha256: 7027c81b681d8fa23a67a307895f2a2500bf6f87d1f8fbc93dd6f9549e2c9fcd
Contents?: true
Size: 705 Bytes
Versions: 14
Compression:
Stored size: 705 Bytes
Contents
require_relative 'event_base' require_relative 'mixins/event' require_relative 'mixins/tooltips' module Voom module Presenters module DSL module Components class Avatar < EventBase include Mixins::Tooltips attr_accessor :avatar, :color, :size, :position def initialize(**attribs_, &block) super(type: :avatar, context: context, **attribs_, &block) @avatar = attribs.delete(:avatar) @color = attribs.delete(:color) @size = attribs.delete(:size) @position = Array(attribs.delete(:position)).compact expand! end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems