1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 2 1 1 1 1 | function SimpleChatConfig() { this.showUserAvatar = true; this.showComposer = true; } SimpleChatConfig.prototype.setShowUserAvatar = function(value) { this.showUserAvatar = value; }; SimpleChatConfig.prototype.setShowComposer = function(value) { this.showComposer = value; }; |