Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve event sent from list on hover/click #800

Open
QuCMGisaia opened this issue Apr 16, 2024 · 0 comments
Open

Improve event sent from list on hover/click #800

QuCMGisaia opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
RESULTLIST It deals with result list component type:enhancement

Comments

@QuCMGisaia
Copy link
Contributor

Currently, the list emits event when an item is hovered or clicked using the following structure:

export interface ElementIdentifier {
  idFieldName: string;
  idValue: string;
}

To differentiate between the different behaviors, the idValue is modified by adding 'leave-' or 'click-' in front. The MapContributor then processes that information in the case of highlighted elements.

It could be simplified by just adding an 'event' attribute to the ElementIdentifier oject.

@QuCMGisaia QuCMGisaia added type:enhancement RESULTLIST It deals with result list component labels Apr 16, 2024
@QuCMGisaia QuCMGisaia self-assigned this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RESULTLIST It deals with result list component type:enhancement
Projects
None yet
Development

No branches or pull requests

1 participant