View Source Moon.Design.Dropdown.Badge (Moon v2.85.0)

Displaying number of tems selected with close [x] button

Properties

  • testid :string - Data-testid attribute for html tag
  • id :string - Id attribute for html tag
  • class :css_class - Additional CSS classes for the html tag
  • count :integer - Number to be shown on badge
  • size :string, values!: ~w(sm md lg), from_context: :size - Common moon size

Summary

Functions

Callback implementation for Surface.Component.render/1.