Home > @cascadiacollections/fluentui-compat > EventGroup > declare
EventGroup.declare() method
Declares an event that this group will manage.
This is a no-op method for API compatibility with FluentUI's EventGroup. In the original implementation, this was used for TypeScript type checking, but modern TypeScript doesn't require this pattern.
Signature:
declare(_hasEventName: {
eventName: string;
}): EventGroup;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
_hasEventName |
{ eventName: string; } |
Event declaration object (unused) |
Returns:
This EventGroup instance for method chaining