Class: Fluxbit::Component::ComponentObj

Inherits:
Data
  • Object
show all
Defined in:
app/components/fluxbit/component.rb

Overview

Custom class to hold button properties and content

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



9
10
11
# File 'app/components/fluxbit/component.rb', line 9

def content
  @content
end

#propsObject (readonly)

Returns the value of attribute props

Returns:

  • (Object)

    the current value of props



9
10
11
# File 'app/components/fluxbit/component.rb', line 9

def props
  @props
end