tooltip
Github

    public function tooltip()
    {
        return _class('html')->tooltip('This is custom text to be displayed inside tooltip, also you can use tip short names, editable from admin panel');
    }
    public function tooltip($text = '', $extra = [])
    {
        if (is_array($text)) {
            $extra = (array) $extra + $text;
            $text = '';
        }
        if ( ! is_array($extra)) {
            $extra = [];
        }
        //		css('.popover { width:auto; min-width: 100px;}');
        $extra['text'] = $extra['text'] ?: $text;
        $extra['icon'] = $extra['icon'] ?: 'icon icon-info-sign fa fa-question-circle';
        $extra['href'] = $extra['href'] ?: '#';
        $extra['class'] = ($extra['class'] ?: 'yf_tip') . ($extra['class_add'] ? ' ' . $extra['class_add'] : '');
        $extra['data-content'] = $extra['data-content'] ?: _prepare_html($extra['text']);
        $extra['data-toggle'] = $extra['data-toggle'] ?: 'popover';
        $extra['data-container'] = $extra['data-container'] ?: 'body';
        $extra['data-html'] = $extra['data-html'] ?: 'true';
        return ( ! $extra['no_nbsp'] ? ' ' : '') . '<span' . _attrs($extra, ['id', 'class', 'style']) . '><i class="' . $extra['icon'] . '"></i></span>';
    }