Got a basic calendar editing page going.
This commit is contained in:
17
cal/index.js
Executable file
17
cal/index.js
Executable file
@@ -0,0 +1,17 @@
|
||||
Vue.createApp({
|
||||
data: function() {
|
||||
return { 'events': null
|
||||
, 'tabs': [ 'Events', 'Create' ]
|
||||
, 'frm': { 'tab': 0, 'e': null }
|
||||
}
|
||||
},
|
||||
mounted: function() {
|
||||
var app = this;
|
||||
jQuery.get( 'api.php'
|
||||
, { 'cmd': 'get' }
|
||||
, function(data) {
|
||||
app.events = data;
|
||||
}
|
||||
);
|
||||
}
|
||||
}).mount('#app')
|
||||
Reference in New Issue
Block a user