Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | |
PreventDefault |
bool |
False | Prevents default behavior of the browser when swiping. Usable especially when swiping up/down - this will prevent the whole page from scrolling up/down. |
Sensitivity |
int |
100 | Swipe threshold in pixels. If SwipeDelta is below Sensitivity then OnSwipe is not called. |
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 |
---|---|---|
OnSwipeEnd |
EventCallback<SwipeEventArgs> |