Class: NattyUI::Table::Attributes

Inherits:
Attributes::Base show all
Includes:
Attributes::Border, Attributes::BorderStyle, Attributes::Position
Defined in:
lib/natty-ui/table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#border:default, ... Originally defined in module Attributes::Border

Border type.

Returns:

  • (:default, :rounded, :heavy, :double, :vintage, :defaulth, :defaultv, :heavyh, :heavyv, :doubleh, :doublev)
  • (nil)

    when element has no border

#border_aroundtrue, false

Whether the table has a border around.

Returns:

  • (true, false)


189
190
191
# File 'lib/natty-ui/table.rb', line 189

def border_around
  @border_around
end

#border_styleArray? Originally defined in module Attributes::BorderStyle

Border style.

Returns:

  • (Array, nil)

#max_widthInteger?

Maximum table width.

Returns:

  • (Integer, nil)


199
200
201
# File 'lib/natty-ui/table.rb', line 199

def max_width
  @max_width
end

#positionnil, ... Originally defined in module Attributes::Position

Horizontal element position.

Returns:

  • (nil, :right, :centered)

Instance Method Details

#border_style_bbcodeObject Originally defined in module Attributes::BorderStyle