Resize method should be public
icokk opened this issue · 3 comments
icokk commented
Angular compiler with "fullTemplateTypeCheck": true parameters shows error at usage site of autosize unless resize() is made public. Apparently methods decorated with @HostListener need to be public.
EugeneSnihovsky commented
I confirmed. For now app build failed with
Property 'resize' is private and only accessible within class 'AutosizeDirective'.
meherett commented
AOT build failed.
Property 'resize' is private and only accessible within class 'AutosizeDirective'.
sidhanshumonga commented
Use this one guys! https://www.npmjs.com/package/ngx-textarea-autosize2