Skip to main content

Posts

Showing posts from May, 2019

The Symbol in JavaScript is the new type of DataType. What they actually do?

The Symbol  is a new primitive type introduced in ES6 . It’s introduced in ES6. Symbols are completely unique identifiers. Just like their primitive counterparts (Number, String, Boolean), they can be created using the factory function Symbol () which returns a Symbol.  List of Symbol Features:- 1.       The Symbol is used to create a unique identifier and every symbol value returned from Symbol() is unique. 2.       The symbol does not auto convert to strings. 3.       Symbols are great to be used as the key in objects. 4.       Two Symbols with the same description is never equal. 5.       The data type symbol is a primitive data type. 6.       While iterating over Objects, Symbol as the key won't be accessible. They become hidden properties. But, Object.assign({}) , Symbol will also get copied. Syntax: -...

What is ‘ngx-build-modern’ in Angular 8?

The ngx-build-modern is used for extending The Angular CLI 's build process without Ejecting. Differential loading of modern JavaScript:-   Differential Serving for Angular and the CLI.  Must be:- 1.             Angular >= 7.0.0 2.             Angular CLI >= 7.0.0 The important features of “ ngx-build-modern” :- ·        Create optimized bundles for modern browsers ·        Create legacy bundles for older browsers ·        Make the browser loads the right set of bundles ·        Automate this all by providing a CLI extension To getting started, you just need the following commands: ·        ng add ngx-build-plus ·        ng add ngx-build-modern Th...

What’s coming up in Angular 8 and Ivy new rendering engine?

What’s coming up in Ivy? You can expect: 1.       Generated code that is easier to read and debug at runtime 2.       Faster re-build time 3.       Improved payload - applications size improvements 4.       Improved template type checking 5.       Great backward compatibility 6.       And so on What’s coming up in version 8.0? Explore this link... And Watch(Google I/O'18) about new in Angular 8

Angular 6 sortByChange sortOrderChange | angular-6-datatable

Actually, sortByChange and sortOrderChange is the outputs directives of angular-6-datatable and we can use these parameters for custom sorting (sort by parameter and sort order parameter). In the blog example, I’m using the default short – mfDefaultSorter. Blog link - https://www.code-sample.com/2018/07/angular-6-datatable-sorting-and.html