Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
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

Closed

Description

@wylieconlon

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

  1. marijnh commented on Dec 21, 2018

    @marijnh
    Member

    Since there's only ever a single hint dialog open, this can be a method. Does attached patch work for you?

  2. wylieconlon commented on Dec 21, 2018

    @wylieconlon
    Author
  3. added a commit that references this issue on Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions