Thirdy Gayaressoftware-engineer.thirdygayares.com·Sep 15, 2024Guide to Angular DirectivesA directive class can modify the structure or behavior of elements in the DOM. Directives are one of the core building blocks of Angular applications and are used to create reusable, custom behaviors that can be applied to elements in a declarative m...Angularangular direct
Rishi Bakshirishibakshi.hashnode.dev·Sep 7, 2024Understanding How Top Level "use-client" Affects Next.js PerformanceIn Next.js, one of the biggest beginner mistakes — and even one made by experienced developers — is using the use client directive too high in the component tree. This can lead to inefficient rendering, larger client bundles, and degraded performance...11 likes·48 readsYou Don't Know Next.jsNext.js
Arpita Priyadarshini Sahoosahoo.hashnode.dev·Mar 17, 2024Show Truncated tooltip in <@angular/>In UI development we come across such things like not to show tooltip/title when the text is completely showing. We can solve this problem by assigning classes to each text content and that would be so much hectic. In angular we use Directive for sol...89 readstext truncate in angular
bhola khawasforJoBins Engineeringblog.jobins.jp·Sep 29, 2023Create Vue plugin in with real world example.Vue.js is a popular JavaScript framework for building user interfaces. One of the powerful features of Vue.js is its extensibility through plugins. Vue.js plugins allow you to encapsulate and reuse functionality across different Vue.js applications. ...2 likes·126 readsVue.js
Bartosz Szłapakblog.procode.pl·Sep 14, 2023Angular - custom *ngIf directiveIn this article, I'll show how to create a custom structural directive that works similarly to Angular's ngIf. The goal is to create a directive that checks if a current user has required permissions by passing them to the directive. The directive sh...Angular
Melvin C Varghese (melvincv)melvincv.hashnode.dev·Jul 19, 2023Types of NGINX DirectivesHere are the different types of NGINX directives: Global directives are instructions that apply to the entire NGINX configuration. For example, the worker_processes directive specifies the number of worker processes that NGINX will create. worker_p...Configuring NGINXnginx
Bartosz Szłapakblog.procode.pl·Apr 16, 2023Angular directive testingIn this article, I'll show how to test Angular directive. To test it I'll create appCloneElement directive. Its purpose is to duplicate HTML elements given n times. Setup If unsure how to set up Angular with Jest please refer to the article: https://...45 readsTesting Angular applicationsAngular
Bartosz Szłapakblog.procode.pl·Mar 14, 2023Angular 15 directive - trim (input) on blurIn this article, I'll present the process of creating and testing Angular 15 directive. The directive trim on blur will be responsible for removing white spaces after firing the blur event on the current element. The supported elements are input and ...1.0K readsAngular
Starlightstarlightwrites.hashnode.dev·Feb 23, 2023C Preprocessor Directives: What are they and why should you care?Introduction When it comes to programming in C, the preprocessor directives are one of the most important and useful features. These directives are a set of instructions that are executed before the code is compiled, allowing you to customize the out...10 likes·39 readsC
Shubham Kshetreshubhamkshetre.tech·Nov 17, 2022Parser Directives in dockerThe parser directives As the name implies, the parser directives instruct the Dockerfile parser to handle the content of Dockerfile as specified in the directives. The parser directives are optional and must be at the top of a Dockerfile. Currently, ...1 like·124 readsDevops