20 Matching Annotations
  1. Last 7 days
  2. Mar 2021
    1. Or if you need to change the way the string is assembled, you can provide a proc, for example: if defined?(BetterErrors) BetterErrors.editor = proc { |file, line| "vscode://file/%{file}:%{line}" % { file: URI.encode_www_form_component(file), line: line } } end
  3. Jan 2021
    1. that it’s a career path rather than a category of activities. In my conversations with people, it seems that people who consider themselves Data Scientists typically have eclectic career paths, that might in some ways seem not to make much sense.”

      Data science can be a tricky field because it can be used for so many different things such as sports, business, healthcare, etc. which makes it a very flexible option as well.

  4. atomiks.github.io atomiks.github.io
    1. Can I use the title attribute?Yes. The content prop can be a function that receives the reference element as an argument and returns a string or element.tippy('button', { content(reference) { const title = reference.getAttribute('title'); reference.removeAttribute('title'); return title; }, });The title attribute should be removed once you have its content so the browser's default tooltip isn't displayed along with the tippy.
    1. Headless: With React's DOM rendering for improved usage with CSS-in-JS and spring libraries. If you want greater control over your poppers to integrate fully with design systems, this is for you.
    1. We can make content a function that receives the reference element (button in this case) and returns template content:
    2. You can pass the element itself, which is useful for keeping event listeners attached (or when a framework is controlling elements inside):
    3. Allows you to separate the tippy's positioning from its trigger source.
  5. Oct 2020
  6. Aug 2020
  7. Jun 2020
  8. May 2020
  9. Nov 2019
  10. Mar 2018