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...Discusstext 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. ...Discuss·2 likes·99 readsVue.js
Bartosz Szłapakbarcioch.hashnode.dev·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...DiscussAngular
Melvin C Varghese (melvincv)blog.melvincv.com·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...DiscussConfiguring NGINXnginx
Bartosz Szłapakbarcioch.hashnode.dev·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://...Discuss·45 readsTesting Angular applicationsAngular
Bartosz Szłapakbarcioch.hashnode.dev·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 ...Discuss·1.1K 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...Discuss·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, ...Discuss·1 like·204 readsDevops
SyedKabirsyedkabir.hashnode.dev·Mar 2, 2022Angular Directives: Uses of HostBinding and HostListener.In this blog I am going to explain the different use cases of HostBinding HostListener 1. HostBinding Let me justify my statement with an example highlight.directive.ts import { Directive, HostBinding } from '@angular/core'; @Directive({ selec...Discuss·3 likes·109 readsAngular
Neha Badianinehabadiani.hashnode.dev·Oct 7, 2021Clean code and Directives in TailwindHey! How is October going for you? We met last in September and talked about TailwindCSS and no I did not get wiped off of the face of the earth :p In the previous blog, we saw comparisons between Tailwind and VanillaCSS and a broad overview of it. I...Discuss·14 likes·700 readsTailwind CSSTailwind CSS Tutorial