Angular πŸ‡ΊπŸ‡¦ - practical notes
1.63K subscribers
1.6K photos
1 file
532 links
Angular - practical notes

This group is for posting practical notes for Angular developers. Mostly all posts are for quick implementation https://t.me/angular_practical_notes (Commenting on posts only in ENG and UA langs here). Welcome!
Download Telegram
Π‘ollection of HTML tips

#html

1. Capture attribute to open your device camera
<input type="file" capture="user" accept="image/*">


2. Automatic website refresh
<head>
<meta http-equiv="refresh" content="10">
</head>


3. Activate spellcheck
<input type="text" spellcheck="true" lang="en">


4. Specify file type to be uploaded
<input type="file" accept=".jpeg,.png">


5. Automatically download on link click
<a href="image.png" download>
πŸ“„ Lesser-Known Tricks in HTML

#html

β„–1: Opening the Device Camera
<input type="file" capture="user" accept="image/*">
<input type="file" capture="environment" accept="video/*" />

β„–2: Automatic Website Refresh
<head>
<meta http-equiv="refresh" content="10">
</head>

β„–3: Spellcheck Activation
<input type="text" spellcheck="true" lang="en">

β„–4: Preventing Translation
<p translate="no">Brand name</p>

β„–5: Automatic Download on Link Click
<a href="image.png" download>Download Image</a>

β„–6 Responsive Images with srcset
<img srcset="image.jpg 1x, image@2x.jpg 2x, image@3x.jpg3x" src="image.jpg" alt="Responsive Image">
πŸ‘2😱1
πŸ§ͺ New Angular 17 feature: deferred loading

#angular #html #controlFlow

🚩 > Angular v17.0.0-next.8

βœ… Article link: https://itnext.io/new-angular-17-feature-deferred-loading-156d472b008b

🎁 Code link: https://github.com/gergelyszerovay/angular-17-deferred-loading
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘1πŸ”₯1
πŸ§ͺ Control Flow Migration Schematic

#angular #html #controlFlow

πŸ€” How to use it?
As with any other schematic, you have to run the generate command through the CLI and use the control-flow schematic (you need to be using 17.0.0-next.8 or 17.0.0-rc.0 for this command to run).

ng g @angular/core:control-flow


🚩 > Angular v17.0.0-next.8

βœ… Article link: https://blog.herodevs.com/new-in-angular-control-flow-migration-schematic-57979ebeaa71
πŸ€“ 13 HTML Attributes You Should Know

#html #attributes

...In HTML, attributes are used to provide additional information about HTML elements...


βœ… Article link