How to add parameters to html tag using typescript Angular

I get an element of html:

eventRender(info){
    console.log(info.el);
  }

And this is output:

enter image description here

And I want to add these attributes: tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." placement="top"
which is looking like this in html

<button type="button" class="btn btn-default btn-secondary mb-2"
        tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."
        placement="top">
  Tooltip on top
</button>

How to add attributes into html tag using this function?

eventRender(info){
  console.log(info.el);
}

Source: New feed
Source Url How to add parameters to html tag using typescript Angular