Class: NitroKit::Accordion::Item

Inherits:
Data
  • Object
show all
Defined in:
app/components/nitro_kit/accordion.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



6
7
8
# File 'app/components/nitro_kit/accordion.rb', line 6

def content
  @content
end

#expandedObject (readonly)

Returns the value of attribute expanded

Returns:

  • (Object)

    the current value of expanded



6
7
8
# File 'app/components/nitro_kit/accordion.rb', line 6

def expanded
  @expanded
end

#keyObject (readonly)

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



6
7
8
# File 'app/components/nitro_kit/accordion.rb', line 6

def key
  @key
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



6
7
8
# File 'app/components/nitro_kit/accordion.rb', line 6

def title
  @title
end