UNPKG
extjs-gpl
Version:
latest (6.2.0)
6.2.0
GPL licensed version of Sencha Ext JS
github.com/tananaev/extjs-gpl
tananaev/extjs-gpl
extjs-gpl
/
examples
/
classic
/
ticket-app
/
app
/
view
/
ticket
/
DetailModel.js
10 lines
(8 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * This
class
is
the
ViewModel
for
the
ticket
details
view
. */
Ext
.
define
('
Ticket
.
view
.
ticket
.
DetailModel
',
{ extend:
'Ext.app.ViewModel'
,
//
This enables
"viewModel: { type: 'ticketdetail' }"
in the view: alias:
'viewmodel.ticketdetail'
});