I'm trying to create an integration in a view, but the tooltips are never shown. Trying debugging without luck, this is my code.

    $beautytip = 'an-unique-id'; // this is a unique id, and the class is added properly. Should be the element that triggers the balloon
    $variables['#attached']['drupalSettings']['beautytips'][$beautytip]['cssSelect'] = '.' . $beautytip;
// this div is initially hidden by css. The query is correct, tried that with webdeveloper tools.
    $variables['#attached']['drupalSettings']['beautytips'][$beautytip]['contentSelector'] = "jQuery(this).next('div').html();"; 
    $variables['#attached']['drupalSettings']['beautytips'][$beautytip]['preEval'] = TRUE;
    $variables['#attached']['drupalSettings']['beautytips'][$beautytip]['style'] = 'facebook'; // tried lots of styles, just in case, none worked
    $variables['#attached']['drupalSettings']['beautytips'][$beautytip]['trigger'] = ['hover', 'focus', 'blur']; // tried also 'now' just in case

I'm using 8.x-1.x-dev at the status of today. Everything looks ok, but no matter what it doesn't work.

Comments

penyaskito created an issue.