Skip to content

Expose more methods in AutocompleteResult object #121

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rajniszp
Copy link

Hi. No functional changes, just exposing few methods:

  • clear (exposed as hide),
  • updatePosition,
  • update (exposed as redraw),
  • updateIfDisplayed (exposed as redrawIfDisplayed).
    I renamed these to best represent what they do, and so they are more intuitive to use.

They would be useful if there is some layout/size changes from outside code, or in case of clear if there is a need to hide the dropdown.
Thanks in advance

@rajniszp
Copy link
Author

Hi, any chance to include this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant