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
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
show-hint addon should return a close function #5682
I am trying to write integration tests for a component using the show-hint addon, and part of my test setup is to create and remove CodeMirror documents. I found that the dialog addon has this feature: It returns a function closeFunction which, if called, will close the dialog immediately., and I am requesting that the show-hint addon should return the same kind of close function.
I haven't looked at other addons beyond show-hint, but is this possibly something that would affect the other addons?
Activity
[show-hint addon] Define a closeHint method
marijnh commentedon Dec 21, 2018
Since there's only ever a single hint dialog open, this can be a method. Does attached patch work for you?
wylieconlon commentedon Dec 21, 2018
[show-hint addon] Define a closeHint method
Update from master (#1)