Is there a way to select Input content on Focus?

Hi,
We have a use case where we would need to select Input content when it get focused.
Is there a way to access the .select() method from the underlying HTML Input element?