Creating A Bind-Once Structural Directive In Angular 7.1.4

added by JavaScript Kicks
1/4/2019 1:30:26 PM

751 Views

Ben Nadel takes some inspiration from Vue.js and attempts to build a "bind once" structural directive in Angular 7.1.4. This *bindOnce directive can stand-alone; or, it can watch for changes in an expression, allowing for granular control over change-detection hooks.


0 comments