Class: NitroKit::Pagination::Item

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

Instance Attribute Summary collapse

Instance Attribute Details

#buttonObject (readonly)

Returns the value of attribute button

Returns:

  • (Object)

    the current value of button



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def button
  @button
end

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def content
  @content
end

#currentObject (readonly)

Returns the value of attribute current

Returns:

  • (Object)

    the current value of current



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def current
  @current
end

#current_pageObject (readonly)

Returns the value of attribute current_page

Returns:

  • (Object)

    the current value of current_page



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def current_page
  @current_page
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def kind
  @kind
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



5
6
7
# File 'app/components/nitro_kit/pagination.rb', line 5

def label
  @label
end