[AngularJS] Re: Configuration driven Components

2017-10-20 Thread Zlatko Đurić
On Friday, October 20, 2017 at 6:06:31 PM UTC+2, Gaurav Verma wrote: > > Thank you Zlatko for your response. You said @Input() layout = > 'horizontal' will allow me to configure the NavBar layout but how can I > dynamically set the layout? > This particular problem is sSimple to solve:

[AngularJS] Save the smart table content whe the button is clicked

2017-10-20 Thread Zlatko Đurić
Not with angular alone. What you can do is pick up the changes on button click, and send those changes (or the whole new JSON) to a server that can write to files. So if your backend server is something like nginx, apache or "ng serve", you can't write that change. But if you have a Node.js,

Re: [AngularJS] Save the smart table content whe the button is clicked

2017-10-20 Thread Vinu Prasad
Thank You @Zlatko Duric , thanks for the valuable information On Fri, Oct 20, 2017 at 2:02 PM, Zlatko Đurić wrote: > Not with angular alone. What you can do is pick up the changes on button > click, and send those changes (or the whole new JSON) to a server that can > write

[AngularJS] Re: Configuration driven Components

2017-10-20 Thread Gaurav Verma
Wow that's a great direction! I will keep subscribing to their updates. But what are your thoughts on developing plugable modules in Angular? If given that problem what will be your approach? Thanks in advance. Gaurav On Wednesday, 18 October 2017 23:40:15 UTC-4, Sander Elias wrote: > > Hi

[AngularJS] Call method on lazy loaded class

2017-10-20 Thread TiDiDoDa
Hello everyone, i've got a problem while using angular 4.4.5: i'm loading some events from my backend server. These events i want to show in my frontend. For my images i need to put an url suffix, so i decided to provide a public method in my class "Event". In my html-file i want to call the

[AngularJS] Re: Configuration driven Components

2017-10-20 Thread Gaurav Verma
Thank you Zlatko for your response. You said @Input() layout = 'horizontal' will allow me to configure the NavBar layout but how can I dynamically set the layout? I am trying to drive the components by json configuration. I will give another example here - Let's say the core provides

[AngularJS] All images loaded

2017-10-20 Thread Retotito
Hi I'd like to check if all images on the page are loaded. With the following code i cant access the "contentLoaded"-variable within the function i asigned to "window.onload", contentLoaded = false; ngAfterViewInit() { window.onload = function() { this.contentLoaded = true; // Property