Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize method should be public #14

Open
icokk opened this issue Aug 7, 2019 · 3 comments
Open

Resize method should be public #14

icokk opened this issue Aug 7, 2019 · 3 comments

Comments

@icokk
Copy link

icokk commented Aug 7, 2019

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
Copy link

I confirmed. For now app build failed with

Property 'resize' is private and only accessible within class 'AutosizeDirective'.

@meherett
Copy link

meherett commented Feb 18, 2020

AOT build failed.

Property 'resize' is private and only accessible within class 'AutosizeDirective'.

@sidhanshumonga
Copy link

Use this one guys! https://www.npmjs.com/package/ngx-textarea-autosize2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants