Skip to content
This repository was archived by the owner on Oct 18, 2019. It is now read-only.
This repository was archived by the owner on Oct 18, 2019. It is now read-only.

Contextual Interactive Content  #46

Description

@andycochran

Is it possible to pass contextual interactive content to Tooltipster?

For example, might you pass the yield of a block-level component to the content option?  Something like this (note: this doesn't work)… 

// foo.hbs

{{#interactive-tooltip
  title='This is my trigger'
}}
  <h6>This is my tooltip content.</h6>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
{{/interactive-tooltip}}
// interactive-tooltip.hbs

{{#tool-tipster
  content=yield
  interactive=true
  contentAsHTML=true
  triggerEvent='click'
}}
  {{title}}
{{/tool-tipster}}
 

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions