Making Autocomplete component accessible

UI Components for Angular
Post Reply
bestuiexperience
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?

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

15 Jan 2019, 11:15

Yes you can.

Component;

Code: Select all

...
@ViewChild('auto') auto;
...
html

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 15 guests