Logotipo kūrybai svarbi informacija

Pateikite atsakymus, užpildykite savo informaciją ir spauskite Siųsti.

Vue.component('zz-accordion', { props: ['contents'], data: function() { return {} }, methods: { expand: function(e, i) { e.preventDefault(); let el = this.$refs['accordion-body-' + i][0]; if (this.contents[i].active === false) { this.contents[i].active = true; TweenLite.to(el, 1, { height: el.scrollHeight, ease: Elastic.easeOut.config(1, 0.3) }); } else { this.contents[i].active = false; TweenLite.to(el, 0.5, { height: 0, ease: Bounce.easeOut }); } } }, template: ` ` }); // ---------- var app = new Vue({ el: '#app', data: { contents: [{ title: 'Which countries do you ship to?', description: 'Lorem ipsum\'s dolor’s sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', active: false }, { title: 'How long does the delivery take?', description: '[Read the following in the embedded code:] Use the back slash \ if you are using the inverted comma for shortened words like let\'s. The other way to solve that problem is to use proper single quotation marks ’ for let’s instead of inverted comma \' for let\'s (see the difference?). On macbook use the keys Option + Shift + ] for single quotation mark. Use the
for line breaks. Use standard html tags like , for text formatting. See first FAQ for examples', active: false }, { title: 'How secure is your payment gateway?', description: 'Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur', active: false }, { title: 'Are there discounts for charities?', description: 'Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', active: false }] } });