I am the best message

Refer to the Messages.js file in the following code:

// app/view/messages/Messages.js Ext.define('Postcard.view.messages.Messages', { extend: 'Ext.Panel', xtype: 'messages', controller: 'messages', viewModel: 'messages', autoScroll: true, session: true, bbar: [ { xtype: 'combobox', displayField: 'name', idField: 'name', reference: 'tagPicker', queryMode: 'local', value: 'Inbox', bind: { store: '{tags}' } }, { text: 'Set Tag', itemId: 'setTag' }, '->', { text: 'Reply', itemId: 'reply', reference: 'replyButton' } ], items: [{ xtype: 'dataview', bind: '{messages}', flex: 1, cls: 'message-view', tpl: new Ext.XTemplate('<tpl for=".">', '<div class="message">', '<div class="date">{date:date("H:m")}</div>', '<div class="details">', ...

Get Ext JS Application Development Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.