Extending CdkTextareaAutosize features. heightChanges / setHeight

171 views
Skip to first unread message

Michael Peteichuk

unread,
Jul 25, 2020, 5:23:48 PM7/25/20
to angular-material2
Proposal

Add for MatTextareaAutosize Callback with height and return custom sum and set it as height for textarea element.


CdkTextareaAutosize {
 
...
 
// Options by default parameter emitEvent is false
  setHeight
(height: number, {emitEvent: boolean}): void;


 
// Return number after calculation height textarea element
  heightChanges
(): Observable<number>;
 
...
}


michael....@gmail.com

unread,
Jul 25, 2020, 5:32:54 PM7/25/20
to angular-material2
Issues on GitHub - 19656

воскресенье, 26 июля 2020 г. в 00:23:48 UTC+3, michael....@gmail.com:
Reply all
Reply to author
Forward
0 new messages