updates
This commit is contained in:
@@ -15,14 +15,17 @@ export class AutoExpand {
|
||||
|
||||
this.target.rows = 1;
|
||||
this.target.style.overflowY = 'hidden';
|
||||
this.target.style.resize = 'none';
|
||||
|
||||
this.target.dxOn('input.autoExpand', _ => this.updateRows() )
|
||||
this.updateSize();
|
||||
|
||||
this.target.dxOn('input.autoExpand', _ => this.updateSize() );
|
||||
}
|
||||
|
||||
/**
|
||||
* AutoExpand, Update Rows
|
||||
* AutoExpand, Update Size
|
||||
*/
|
||||
updateRows() {
|
||||
updateSize() {
|
||||
|
||||
const style = window.getComputedStyle(this.target);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user