filter String

Specifies a selector for the elements within the container which will display the Tooltip.

It is recommended to avoid using the element's title attribute in the selector string, as the tooltip component strongly relies on it.

Example - showing a Tooltip only for strong elements in a text

<div id="container">
    I'm a <strong title="First target">tooltip target</strong>. I'm also a
    <strong title="Second target">tooltip target</strong>.
</div>

<script>
    $(document).ready(function() {
      $("#container").kendoTooltip({
        filter: "strong"
      });
    });
</script>
In this article