You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EventCallback<ModalHidingEventArgs> HxModal.OnHiding renders in Parameters section instead of Event callbacks.
It seems that all the generic EventCallback<T> are rendered in such way.
This probably originated from EventCallback<TValue> ValueChanged parameters where we wanted them in Parameters section.
We can take one of these approaches:
Render ALL event-callbacks in Event callbacks section (incl. ValueChanged).
Create exception for XyChanged event callbacks and leave them as Parameters (part of @bind-Xy syntax). All the other event-callbacks (with or without generic parameter) will be rendered in Event callbacks section (these should start with OnXy prefix, but it is only a convention, not a rule).
EventCallback<ModalHidingEventArgs> HxModal.OnHiding
renders in Parameters section instead of Event callbacks.It seems that all the generic
EventCallback<T>
are rendered in such way.This probably originated from
EventCallback<TValue> ValueChanged
parameters where we wanted them inParameters
section.We can take one of these approaches:
Event callbacks
section (incl.ValueChanged
).XyChanged
event callbacks and leave them as Parameters (part of@bind-Xy
syntax). All the other event-callbacks (with or without generic parameter) will be rendered inEvent callbacks
section (these should start withOnXy
prefix, but it is only a convention, not a rule).@Harvey1214, my preference is 2, but you decide.
The text was updated successfully, but these errors were encountered: