public function getPopoverAttributes():array
    {
        if ($this->popover !== null) {
            Component::getJquery()->enablePopovers();
            $attrs = $this->popoverOptions;
            $attrs['data-toggle'] = 'popover';
            $attrs['title'] = $this->popover['title'];
            $attrs['data-content'] = $this->popover['data-content'];
            return $attrs;
        }
        return [];
    }