shhdharmen / angular-free-dragging

Create a directive in Angular that will allow us to freely drag any element, without using any 3rd party libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a directive for free dragging in Angular

In this article, we will learn how to create a directive in Angular that will allow us to freely drag any element, without using any 3rd party libraries.

Reading

This code is created for my article on indepth.dev, you can read it at: Create a directive for free dragging in Angular.

Development

git clone https://github.com/shhdharmen/angular-free-dragging.git
cd angular-free-dragging
npm i
npm start

About

Create a directive in Angular that will allow us to freely drag any element, without using any 3rd party libraries.


Languages

Language:TypeScript 94.7%Language:HTML 2.9%Language:CSS 2.4%