API Reference
Class
TablerSelectOption
Fluent metadata builder for a select option's rich visuals (avatar, flag, badge, icon, description).
Inheritance
- Object
- TablerSelectOption
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method TablerSelectOption.Avatar
- Method TablerSelectOption.Badge
- Method TablerSelectOption.Description
- Method TablerSelectOption.Flag
- Method TablerSelectOption.IconSvg
Accepted by parameters
- Method TablerSelect.Option
Methods
public TablerSelectOption Avatar(String url) #Returns:
TablerSelectOptionShow an avatar on the left using the given image URL.
Parameters
- url System.String
public TablerSelectOption Badge(String text, String color = "secondary") #Returns:
TablerSelectOptionAdd a trailing badge with optional Tabler color name.
Parameters
- text System.String
- color System.String = "secondary"
public TablerSelectOption Description(String text) #Returns:
TablerSelectOptionSet a small gray description under the option text.
Parameters
- text System.String
Flag 2 overloads
public TablerSelectOption Flag(Country country) #Returns:
TablerSelectOptionShow a country flag on the left (use ISO2 code, e.g., "us", "gb").
Parameters
- code System.String
public TablerSelectOption IconSvg(String svgInline) #Returns:
TablerSelectOptionProvide inline SVG markup to render as an icon on the left.
Parameters
- svgInline System.String