[AngularJS] Re: cdk-virtual-scroll-viewport usage with angular/flex-layout (row and wrap)

2019-01-07 Thread Martin Kuhn
Hi Sander, o.k. now I get it... Thx for help Regards, Martin Am Montag, 7. Januar 2019 11:38:33 UTC+1 schrieb Sander Elias: > > Hi Martin, > > Oh they do work with the cdk virtual scroll (CVS from here on). However, > your example has multiple items on a single "row". There is no way CVS is >

[AngularJS] Re: cdk-virtual-scroll-viewport usage with angular/flex-layout (row and wrap)

2019-01-06 Thread Martin Kuhn
be used with it (table, list, flexlayout etc.) Regards, Martin Am Dienstag, 1. Januar 2019 17:02:35 UTC+1 schrieb Martin Kuhn: > > I would like to use virtual scrolling with flexlayout - e. g. the > following code should work with virtual scrolling: > > > >

[AngularJS] cdk-virtual-scroll-viewport usage with angular/flex-layout (row and wrap)

2019-01-01 Thread Martin Kuhn
I would like to use virtual scrolling with flexlayout - e. g. the following code should work with virtual scrolling: Item #{{i}} - ({{size}}px) I made a little demo: https://stackblitz.com/edit/angular-tikbvh which shows the result (without

[AngularJS] Re: Angular 2 deploy to Tomcat server?

2017-03-15 Thread Martin Kuhn
I think the problem is maybe the base href attribute. (default is set in index.html to "/"). You have to define it to the directory where the dist files are copied to (in tomcat -> when the directory is tomcat/webapps/myapp -> then the base-href has to be "/myapp/") angular-cli provides the

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-14 Thread Martin Kuhn
Hi Sander, what you did is GREAT. Thank you very much. I tried it out and it worked for me also in the production build with AOT. (maybe because all I need is the usage in a div with innerHtml) Regards Martin Am Montag, 13. März 2017 17:27:46 UTC+1 schrieb Sander Elias: > > Hi Martin, > >

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-13 Thread Martin Kuhn
Anything new on this topic? TIA Am Samstag, 11. März 2017 11:12:19 UTC+1 schrieb Sander Elias: > > Oh, it is possible, when I'm back in my office I will finish up a > directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-11 Thread Martin Kuhn
That would be really great Am Samstag, 11. März 2017 11:12:19 UTC+1 schrieb Sander Elias: > > Oh, it is possible, when I'm back in my office I will finish up a > directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-10 Thread Martin Kuhn
Do you mean that it is not possible what I want? TIA Am Freitag, 10. März 2017 09:06:07 UTC+1 schrieb Sander Elias: > > Update, > > I can confirm the reloading indeed. not only with dynamic HTML, but also > with just static anchors. > > -- You received this message because you are subscribed

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-09 Thread Martin Kuhn
Hi Sander, thank you for responding. I did a little plunkr to demonstrate the behaviour -> https://plnkr.co/edit/elLlqKbBsDRgTqcb8OnA?p=preview Here I have 2 components -> routing via [routerLink] works fine. But when I try to specify the link in html which is shown via [innerHtml] it does

[AngularJS] Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-09 Thread Martin Kuhn
I have to manage some content pages which are maintained by my app (in an admin mode). e.g. the admin writes the page with some editor in my app (using quill etc.) the resulting html looks like MyTest In this example content/detail/1083180739855 is a route in my SPA When presenting this

[AngularJS] Anguar 2+ - Http Mocking for development

2017-03-03 Thread Martin Kuhn
Hi, I would to like to mock http requests not only for test but also for usual development. So I tried MockBackend which has the problem that also http request for images etc. are handled by MockBackend. This means a more flexible solution has to be used. Next approach was to extend the Http

[AngularJS] Angular2 i18n state

2017-01-04 Thread Martin Kuhn
Hi, does anybody of you has real world experience with i18n? I have the impression that this stuff is not really useful at this time e.g. is there a way to handle programmatic access to text resources (and so on)? Regards Martin -- You received this message because you are subscribed

[AngularJS] Re: Seed project for Angular2 lib development

2016-12-11 Thread Martin Kuhn
I looked at this already. This is very basic. Am Donnerstag, 1. Dezember 2016 19:00:51 UTC+1 schrieb John Brecht: > > Have you looked at this: > https://github.com/jvandemo/generator-angular2-library > > >>> -- You received this message because you are subscribed to the Google Groups

[AngularJS] Re: Seed project for Angular2 lib development

2016-11-29 Thread Martin Kuhn
HI Sander, yeah I know, when it would be possible I would use ng-cli. But it supports no lib dev at them moment Regards Martin Am Dienstag, 29. November 2016 09:44:19 UTC+1 schrieb Sander Elias: > > Hi Martin, > > I'm inclined to say ng-cli. It's not yet geared towards library > development,

[AngularJS] Seed project for Angular2 lib development

2016-11-28 Thread Martin Kuhn
Does anybody of you can recommend a seed project for ng2 library development? -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[AngularJS] Re: angular2 tools

2016-01-01 Thread Martin Kuhn
IntelliJ IDEA is really a good IDE for developing web apps in general (has good typescript support and so on ). It is also planned to provide good support for angular2 (currently no IDE supports angular2). For my point of view it is far better than any eclipse based IDE (which Aptana is) So I

[AngularJS] Re: Angular 2: Global Hooks/ Events for Component Router

2015-12-22 Thread Martin Kuhn
Sorry I strongly disagree. I do the route config already on the "app" component. I don't see "coupling" -> I see this as cross cutting concern. So I have to inject the "router logic" service into every Component and have to ask the service. The decision should really be made by the developer.

[AngularJS] Re: Angular 2: Global Hooks/ Events for Component Router

2015-12-22 Thread Martin Kuhn
I don't see the big win for maintainability. The logic for the decision is probably in a service. So you have to inject this service into every component and implement "canActivate" . Only for calling the service which makes the decision Regards Am Dienstag, 22. Dezember 2015 14:41:46 UTC+1

[AngularJS] Re: Dynamically add Component with Angular 2

2015-12-21 Thread Martin Kuhn
I have exactly the same problem. All what I want is to generate the template of a component dynamically. When I do it via loadIntoLocation how do I pass input bindings etc. and it feels rather messy (for a simple problem). Am Montag, 21. Dezember 2015 23:57:25 UTC+1 schrieb Manfred Steyer: > >

[AngularJS] Re: Angular 2: Global Hooks/ Events for Component Router

2015-12-21 Thread Martin Kuhn
I can not believe that this common use case is not handled by the new router (I hope I am not wrong). Especially when you consider how long the router is in the works already... -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from

[AngularJS] Angular 2 with new Router

2015-03-21 Thread Martin Kuhn
I would be really interested when the new Router is useable with current Angular 2. Has anybody info about this?? -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [AngularJS] angular2 - two way data binding - how to

2015-03-09 Thread Martin Kuhn
Hi Sander, great to hear. Thanks for information. Regards Am Montag, 9. März 2015 15:40:31 UTC+1 schrieb Sander Elias: Hi Martin, As far as I found out, on the moment, yes, you have to do it on your own. However, this is going to change as soon as the new formCollection thingie will

[AngularJS] angular2 - two way data binding - how to

2015-03-09 Thread Martin Kuhn
I'm curious about two way databinding in Angular2. I played around with the quickstart project and would like to know how to get a value from an UI-element back to the model: In the source example I used the change event and a manually update of the model. But this may not be the right way,

[AngularJS] number filter is to inflexible - how to use angular formatNumber

2014-08-30 Thread Martin Kuhn
Hi, I'm not happy with the number filter (which uses angular's internal formatNumber). Because of the lack of parameters you can use... (groupSep, decimalSep etc.) I would need to call formatNumber. But it is inaccessible. Can anybody of you give me an hint if it is possible to use

[AngularJS] Re: event after angular has done its work and is idle (after digest loop)

2014-02-12 Thread Martin Kuhn
Hi Sander, thank you for your effort! but it seems that the plunker is not correct... Regards, Martin Am Mittwoch, 12. Februar 2014 10:23:27 UTC+1 schrieb Sander Elias: you can see it in action in this plunker: http://plnkr.co/edit/Sud2Y0VFy3SH3QtZojg7?p=preview -- You received this

[AngularJS] event after angular has done its work and is idle (after digest loop)

2014-02-11 Thread Martin Kuhn
HI, I'm looking for a way to be informed when angular has finished the digest loop and is idle. Is there a way how this can be achieved. TIA Martin -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop

[AngularJS] Re: event after angular has done its work and is idle (after digest loop)

2014-02-11 Thread Martin Kuhn
Hi Sander, I would need it for testing with Selenium / cucumber in a Java environment. Currrently we wait a certain amount oft time... Regards, Martin -- You received this message because you are subscribed to the Google Groups AngularJS group. To unsubscribe from this group and stop