09.Data Binding.
Data Binding. Data binding ආකාර 2 කි. One-way Data Binding - component to view (DOM) or view to the component Two-way Data Binding - component to view and view to the component. One-way Data Binding in Angular Component to view (DOM) or view to component One-way data binding will bind the data from the component to the view (DOM) or from view to the component. One-way data binding is unidirectional. You can only bind the data from component to the view or from view to the component. a). From Component to View 01. Interpolation Binding 02. Property Binding 03. Attribute Binding 04. Class Binding 05. Style Binding b). From View to Component 01. Event binding From Component to View Style and Class Binding Directives – Directives are nothing but custom html element that angular provi...
Comments
Post a Comment