Class: NitroKit::Dropdown::Trigger

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

Instance Attribute Summary collapse

Instance Attribute Details

#ariaObject (readonly)

Returns the value of attribute aria

Returns:

  • (Object)

    the current value of aria



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def aria
  @aria
end

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def content
  @content
end

#css_classObject (readonly)

Returns the value of attribute css_class

Returns:

  • (Object)

    the current value of css_class



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def css_class
  @css_class
end

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def data
  @data
end

#disabledObject (readonly)

Returns the value of attribute disabled

Returns:

  • (Object)

    the current value of disabled



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def disabled
  @disabled
end

#htmlObject (readonly)

Returns the value of attribute html

Returns:

  • (Object)

    the current value of html



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def html
  @html
end

#iconObject (readonly)

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def icon
  @icon
end

#icon_endObject (readonly)

Returns the value of attribute icon_end

Returns:

  • (Object)

    the current value of icon_end



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def icon_end
  @icon_end
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def label
  @label
end

#sizeObject (readonly)

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def size
  @size
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def text
  @text
end

#variantObject (readonly)

Returns the value of attribute variant

Returns:

  • (Object)

    the current value of variant



9
10
11
# File 'app/components/nitro_kit/dropdown.rb', line 9

def variant
  @variant
end