From d43e737e1b63355033472f13b957d3045324c49f Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Fri, 1 Dec 2017 23:18:02 +0100 Subject: [PATCH] Vue: special attributes --- frontend/vue.js | 101 +++++++++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 43 deletions(-) diff --git a/frontend/vue.js b/frontend/vue.js index 1cacc64..2a14bbd 100644 --- a/frontend/vue.js +++ b/frontend/vue.js @@ -546,58 +546,51 @@ vm.$destroy() * ******************************************************************************************* */ -// --- Updates the element’s textContent. -// --- If you need to update the part of textContent, you should use {{ Mustache }} interpolations. - +// +// // -// --- Updates the element’s innerHTML. Note that the contents are inserted as plain HTML - -// --- they will not be compiled as Vue templates. If you find yourself trying to compose templates -// --- using v-html, try to rethink the solution by using components instead. - +// +// +// //
-// --- Toggle’s the element’s display CSS property based on the truthy-ness of the expression value. -// --- This directive triggers transitions when its condition changes. - +// +// //
-// --- Conditionally render the element based on the truthy-ness of the expression value. -// --- The element and its contained directives / components are destroyed and re-constructed -// --- during toggles. If the element is a