π Lesser-Known Tricks in HTML
#html
β1: Opening the Device Camera
#html
β1: Opening the Device Camera
<input type="file" capture="user" accept="image/*">β2: Automatic Website Refresh
<input type="file" capture="environment" accept="video/*" />
<head>β3: Spellcheck Activation
<meta http-equiv="refresh" content="10">
</head>
<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
π How to use Cypress in 5 steps
#angular #cypress
Cypress is a desktop application. It supports multiple operating systems such as Windows, Linus, and iOS. Cypress is a tool that you can use to test a front-end application whatever the front-end framework you are using. E2E is a software testing method that simulates what the application should be able to do from the start to the end.
β Article Link: https://levelup.gitconnected.com/e2e-testing-with-cypress-angular-219eaa3926c
#angular #cypress
Cypress is a desktop application. It supports multiple operating systems such as Windows, Linus, and iOS. Cypress is a tool that you can use to test a front-end application whatever the front-end framework you are using. E2E is a software testing method that simulates what the application should be able to do from the start to the end.
β Article Link: https://levelup.gitconnected.com/e2e-testing-with-cypress-angular-219eaa3926c
β³οΈ Handling custom errors in TS
#typescript #ts #angular #errors
Error handling in Type/JavaScript is a topic that doesnβt get the importance it deserves. Itβs crucial to the longevity of any project to catch and log errors.
β Article Link: https://engineering.udacity.com/handling-errors-like-a-pro-in-typescript-d7a314ad4991
#typescript #ts #angular #errors
Error handling in Type/JavaScript is a topic that doesnβt get the importance it deserves. Itβs crucial to the longevity of any project to catch and log errors.
β Article Link: https://engineering.udacity.com/handling-errors-like-a-pro-in-typescript-d7a314ad4991
π Whatβs new in CSS 2023
#css
β οΈ Experimental (not fully supported)
β Article link: https://medium.com/@trinhcamminh25112002/whats-new-in-css-and-ui-i-o-2023-edition-5bac2c7271bb
π Code Link:
1.
2.
3.
#css
β οΈ Experimental (not fully supported)
β Article link: https://medium.com/@trinhcamminh25112002/whats-new-in-css-and-ui-i-o-2023-edition-5bac2c7271bb
1.
@container: https://codepen.io/web-dot-dev/pen/KKxzYQx2.
new nth-child: https://codepen.io/web-dot-dev/pen/oNMRaQq3.
@scope: https://codepen.io/web-dot-dev/pen/MWPVGPLPlease open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π Add missing functionality to third-party components using Directives
#angular #directive
When working with third-party components, there are times when you need to add missing functionality. We can create a directive that targets this input by
β Article link: https://netbasal.com/the-power-of-selectors-in-angular-cd6947ce3bfd
#angular #directive
When working with third-party components, there are times when you need to add missing functionality. We can create a directive that targets this input by
classname, and then we can use the Angular API to add what we need.β Article link: https://netbasal.com/the-power-of-selectors-in-angular-cd6947ce3bfd
#react #mediator
Using the Mediator pattern as a state management solution in React applications also promotes modularization, making it easier to reuse components in other parts of the application or even in other applications.
β Article Link: https://itnext.io/improve-state-management-in-react-with-mediator-design-pattern-db632cbe6475
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
π Implementing Edit-in-Place in Angular
#angular #directive #forms
β Article Link: https://netbasal.com/keeping-it-simple-implementing-edit-in-place-in-angular-4fd92c4dfc70
π Code Link: https://stackblitz.com/edit/stackblitz-starters-1r4vtr?file=src%2Fapp%2Fapp.component.ts
#angular #directive #forms
β Article Link: https://netbasal.com/keeping-it-simple-implementing-edit-in-place-in-angular-4fd92c4dfc70
Please open Telegram to view this post
VIEW IN TELEGRAM
How to install Angular Server-Side Rendering (SSR) with NestJS
#angular #ssr #nestjs
β Article Link: https://medium.com/@pratheeshrussell/an-introduction-to-angular-server-side-rendering-ssr-with-nestjs-c121185d5824
π Code Link: https://github.com/pratheeshrussell/angular-nest-ssr
#angular #ssr #nestjs
β Article Link: https://medium.com/@pratheeshrussell/an-introduction-to-angular-server-side-rendering-ssr-with-nestjs-c121185d5824
Please open Telegram to view this post
VIEW IN TELEGRAM