Angluar CLI is a fantastic tool that comes with Webpack already installed and configured. If you’ve never used Webpack, you may not know how it works, but that’s OK, if you know how Angular works, you only need to know how to get your environmental variables to swap out during a production,development or custom build. It’s actually super easy and I’ve included directions on exactly how to do it.
Triggering Events in a Child Component in Angular
Interactions between components has been more and more of a necessity. In a component, we can easily bind functions and even send data back to the parent within this function (https://morrisdev.com/2016/08/angular-components-with-bound-functions-using-typescript/)However, triggering an event in the child by the parent is a big more convoluted. You can see several options here http://stackoverflow.com/questions/37439300/communicating-events-from-parent-to-child-in-angularjs-components and they are all […]
Getting the Selected Row from a KendoGrid
There are several ways to accomplish this. I’ve got a grid with 2 columns defined: this.gridOptions = { dataSource: this.mydata, columns: [ { field: “office_group_id”, title: “ID” }, { field: “group_name”, title: “Group Name” } ] } } With Kendo Grids, you can get the data from a grid like this: with the javascript event […]
- « Previous Page
- 1
- …
- 8
- 9
- 10
- 11
- 12
- …
- 24
- Next Page »