Make view properties public when accessed from view
See original GitHub issueAccess to the private properties hasFocus
, isOpen
and isBelow
from the view breaks production builds with Angular 4.0.0.
ng build --prod
Hash: 33fa67e56c5a1dc77534
Time: 47936ms
chunk {0} polyfills.5750e9aaa82b99a7b2c4.bundle.js (polyfills) 234 kB {4} [initial] [rendered]
chunk {1} main.a184c2fc9a7a37a621f7.bundle.js (main) 597 kB {3} [initial] [rendered]
chunk {2} styles.e3bd7e2b6720dcae1044.bundle.css (styles) 122 bytes {4} [initial] [rendered]
chunk {3} vendor.a68756e99af931655c91.bundle.js (vendor) 1.66 MB [initial] [rendered]
chunk {4} inline.b90113427a1816e79dd3.bundle.js (inline) 0 bytes [entry] [rendered]
ERROR in ng:///project/node_modules/ng-select/dist/select.component.d.ts.SelectComponent.html (2,1): Property 'isOpen' is private and only accessible within class 'SelectComponent'.
ng:///project/node_modules/ng-select/dist/select.component.d.ts.SelectComponent.html (2,1): Property 'hasFocus' is private and only accessible within class 'SelectComponent'.
ng:///project/node_modules/ng-select/dist/select.component.d.ts.SelectComponent.html (2,1): Property 'isBelow' is private and only accessible within class 'SelectComponent'.
ng:///project/node_modules/ng-select/dist/select.component.d.ts.SelectComponent.html (41,5): Property 'isOpen' is private and only accessible within class 'SelectComponent'.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
c# - How to access properties in the model passed to the view?
My question is how to access the field. Is my only option declaring a class and type the model using @model Something?
Read more >View or change the properties for an Office file
Notes: In Access you'd select View and edit database properties. In Project you'd select Project Information. In Publisher you'd select Publication Properties.
Read more >Add a new view - Analytics Help - Google Support
Click Admin, and navigate to the account and property to which you want to add the view. In the VIEW column, click the...
Read more >Private and protected properties and methods
In JavaScript, there are two types of object fields (properties and methods):. Public: accessible from anywhere. They comprise the external ...
Read more >Accessing private object properties - Undocumented Matlab
Private properties of Matlab class objects can be accessed (read and ... Use DISP or DISPLAY to see the visible public details of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@eestein Reverting back to
"ng-select": "1.0.0-beta.3"
seems to fix the problem for me (until we get a new release with @Crevil’s fix).For the ETA, let’s hear from @basvandenberg, as he is the one managing releases.