mirror of
https://github.com/pinry/pinry.git
synced 2025-11-18 02:40:40 +01:00
Feature: Try to add initial structure for pin-form
This commit is contained in:
committed by
Isaac Bythewood
parent
897d80170f
commit
9b066771a9
@@ -116,6 +116,19 @@ function HeightTable(blockMargin) {
|
||||
return self;
|
||||
}
|
||||
|
||||
Vue.component(
|
||||
'pin-form',
|
||||
{
|
||||
data: function () {
|
||||
return {};
|
||||
},
|
||||
props: ['url'],
|
||||
template: "#pin-form-template",
|
||||
mounted: function () {},
|
||||
methods: {}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Vue.component(
|
||||
'light-box',
|
||||
@@ -435,6 +448,9 @@ var app = new Vue({
|
||||
);
|
||||
},
|
||||
methods: {
|
||||
showPinForm: function() {
|
||||
|
||||
},
|
||||
onViewPin: function(pin) {
|
||||
this.currentPin = pin;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user