Making Autocomplete component accessible

UI Components for Angular
Post Reply
Posts: 3
Joined: 09 Jan 2019, 23:16

13 Jan 2019, 05:01

Has anyone managed to make the auto complete component accessible via dom manipulation (i.e., using ElementRef and Renderer2) to search for the appropriate elements and set the corresponding attributes? If so, can you share how it was done?

Posts: 385
Joined: 08 Aug 2018, 14:09

15 Jan 2019, 11:15

Yes you can.


Code: Select all

@ViewChild('auto') auto;

Code: Select all

<p-autoComplete ... #auto  ....></p-autoComplete>

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest