First commit
This commit is contained in:
40
application/demo/comment/comment.title.js
Normal file
40
application/demo/comment/comment.title.js
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
|
||||
import column from '/unify/column.js';
|
||||
|
||||
|
||||
export default class title extends column {
|
||||
|
||||
padding = 20;
|
||||
|
||||
color = "black";
|
||||
|
||||
label = "title";
|
||||
|
||||
useCustomElement = true;
|
||||
|
||||
|
||||
async keyup( event ){
|
||||
|
||||
this.value = event.target.value;
|
||||
|
||||
this.animate(150, 400, function( value ){
|
||||
|
||||
this.height = value;
|
||||
|
||||
})
|
||||
|
||||
var result = await this.socketManager.get( "column", "update", this, "keyup" );
|
||||
|
||||
}
|
||||
|
||||
serverKeyup( object ) {
|
||||
|
||||
this.value = object.value;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user