6 {tag: "h2", content: "What's on your mind?"},
7 {kind: "onyx.InputDecorator", components: [
8 {name: "postContent", classes: "content", kind: "onyx.TextArea", onkeydown: "resizePostContent"}
10 {classes: "buttons", components: [
11 {kind: "onyx.Button", content: "Close", onclick: "closePost", classes: "onyx-negative"},
12 {kind: "onyx.Button", content: "Post", onclick: "doPost", classes: "onyx-affirmative"}
16 return this.$.postContent.getValue();
18 setData: function(inVal) {
19 this.$.postContent.setValue(inVal);
21 closePost: function() {
25 this.bubble('onPost', {data: this.getData()});