Calling Full screen function from .ts file
Can we call full screen function from .ts file? without help of any button click
3 answers
Hi Rama!
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.
Thanks
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?
Hello, Rama,
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:
tabs.unshift({
id:"wdr-tab-newtab",
title:"New Tab",
handler:newtabHandler,
icon:<i class="fab fa-angular"></i>
});
Hope it was helpful.
Regards,
WebDataRocks Team