📝 Add documentation for findTooltips

This commit is contained in:
Lee Dohm
2016-12-22 16:05:10 -08:00
parent a33ab44966
commit fd5feab5b3

View File

@@ -155,6 +155,11 @@ class TooltipManager
disposable
# Extended: Find the tooltips that have been applied to the given element.
#
# * `target` The `HTMLElement` to find tooltips on.
#
# Returns an {Array} of `Tooltip` objects that match the `target`.
findTooltips: (target) ->
if @tooltips.has(target)
@tooltips.get(target).slice()