AutoFocus manages focus on focusable element on load.
import { AutoFocusModule } from 'primeng/autofocus';
AutoFocus is applied to any focusable input element with the pAutoFocus directive.
<input type="text" pInputText [pAutoFocus]="true" placeholder="Automatically focused" />