30秒学会 Angular 片段 – hammerjs-gestures
To act upon swipes, pans, and pinhces as well as the other mobile gestures, you can use hammerjs wit...
To act upon swipes, pans, and pinhces as well as the other mobile gestures, you can use hammerjs wit...
It is possible to use .svg file as a component template: @Component({ templateUrl: ‘app.svg’ }) 翻译自:...
To avoid the expensive operations, we can help Angular to track which items added or removed i.e. cu...
By default Angular strips all whitespaces in templates to save bytes. Generally it’s safe. For...
Check out Angular Cheat Sheet or (alternative version) containing lots of useful information condens...
Here is the way to notify user that there are fields with non-valid values. markFieldsAsTouched func...
If you need a custom pipe, before creating one, consider checking out the NGX Pipes package which ha...
EventEmitters used for @Output‘s are just Observables with an emit method. This means that you...
With ng-content you can pass any elements to a component. This simplifies creating reusable componen...
Generally we get one service instance per the whole application. It is also possible to create an in...