Skip to content

Instantly share code, notes, and snippets.

Avatar

Dima S Dima-HAN

View GitHub Profile
@Dima-HAN
Dima-HAN / gist:4256d51bdd5dd1f1beb0
Last active Jan 4, 2016 — forked from thomseddon/gist:4703968
Auto Expanding/Grow textarea directive for AngularJS
View gist:4256d51bdd5dd1f1beb0
/*
Updated event handler to handle paste with mouse right button properly.
Also changed that it works properly with Angular Material Textarea field
*/
/**
* The MIT License (MIT)
*
* Copyright (c) 2013 Thom Seddon
* Copyright (c) 2010 Google