Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | Child content of component. |
Disabled |
bool |
False | If true, the input element will be disabled. |
Value |
T |
null | A user-defined option that can be selected |
Click action | |||
ForceLoad |
bool |
False | If true, force browser to redirect outside component router-space. |
Href |
string |
null | Link to a URL when clicked. |
Appearance | |||
DisableRipple |
bool |
False | If true, disables ripple effect. |
Common | |||
Class |
string |
null | User class names, separated by space. |
Style |
string |
null | User styles, applied on top of the component's own classes and styles. |
Tag |
object |
null | Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<string, object> |
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag. | |
EventCallbacks
Name | Type | Description |
---|---|---|
OnClick |
EventCallback<MouseEventArgs> | Click event. Will not be called if Href is also set. |
Methods
Name | Parameters | Return | Description |
---|---|---|---|
Dispose() |