Gradient Text in Phaser 3?

Hi Guys,

I googled for hours but couldn’t find a example of gradient text in Phaser 3, I understand the key is using CanvasRenderingContext2D but I don’t understand how to use CanvasRenderingContext2D within Phaser Scene/Game obj.

could someone point me to a right direction?

Thanks🙏