Can we call full screen function from .ts file? without help of any button click
That is not possible due to browser’s security restrictions.
You can call the full-screen function only in the context of a user-initiated action.
Can I call this function by using my own icon, I am using material icons in my application so I want to use material icons instead of toolbar icons. Can I do tool bar actions with my material icons?
You can set your custom icons for tabs. When specifying
icon property in tab object, just set HTML tag that contains your custom icon for this tab:
icon:<i class="fab fa-angular"></i>
Hope it was helpful.