Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
Breakpoint |
Breakpoint |
Breakpoint.Xs | The screen size(s) depending on which the ChildContent should not be rendered (or should be, if Invert is true) |
ChildContent |
RenderFragment |
null | Child content of component. |
Invert |
bool |
False | Inverts the Breakpoint, so that the ChildContent is only rendered when the breakpoint matches the screen size. |
IsHidden |
bool |
True | True if the component is not visible (two-way bindable) |
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 |
---|---|---|
IsHiddenChanged |
EventCallback<bool> | Fires when the breakpoint changes visibility of the component |
Methods
Name | Parameters | Return | Description |
---|---|---|---|
ValueTask DisposeAsync() |
ValueTask |