Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
8k views

This is my object var users ={ twitter : { name : //, lastname : // }, facebook : { name : //, lastname : // } } } I have a dynamic variable activeuser that updates from ...
1 vote
1 answer
5k views

I would like to order my data by the date, but some of the date values are null. How would I go about ordering the data and have the null values be together at the end of my list for descending and ...
0 votes
1 answer
362 views

I upgraded to Vue 0.12 but it's left me with a tricky problem. I'm using Browserify/Vueify to transpile and concatenate single file component definitions. In my app component I "require" the needed ...
1 vote
1 answer
471 views

I've got a custom Vue component that is successfully bound to a javascript object, but now would like to re-bind the component to another object. Is this possible? Markup: <div id="wrapper"> ...
0 votes
1 answer
202 views

js i'm starting to catch up on it but i'm stuck on components would appreciate your help thanks //here is my js Vue.component('thatsCool', { template: document.querySelector('#myOwnTemplate'),...
0 votes
2 answers
147 views

I have two functions, one working, the other not. They are equal, except that the one is looping through a variable, in which the global object of the scope is saved (hope this makes sense), and the ...
1 vote
1 answer
9k views

I have the app.js file where gmarkers is an array of objects : var vm = new Vue({ el: '#lili', data: { listings: gmarkers } }); In my HTML file : <div id="lili" > <...
2 votes
0 answers
2k views

Today I started to work with vuejs. and my form is just having field (name) and submit button so when I tried to debug the post request it send whatever I put in the input field and after submitting ...
0 votes
1 answer
165 views

I am building a group mailing system with VueJS and jQuery for the front-end, Laravel 5 for the back-end. I am using AJAX calls to retrieve a listing of users based on groups, agencies, or all ...
6 votes
1 answer
47k views

This is my code: window.onload = function () { var main = new Vue({ el: '#main', data: { currentActivity: 'home' } }); Vue.component('home', { template: '#home-template' }); };...
1 vote
1 answer
613 views

Fiddle: http://jsfiddle.net/6Lt7kc94/3/ parent component <div v-component="child"> <div v-component="transcluded"></div> </div> child component (visible is hardcoded to ...
3 votes
1 answer
2k views

HTML: <div id="demo"> <h1>{{title | uppercase}}</h1> <ul> <li v-repeat="todos" v-on="click: done = !done" class="{{done ? 'done' : ''}}"> {{...
1 vote
1 answer
3k views

I have a language selector view that includes a dropdown component. I want to set a default property (isOpen) in the dropdown component and then include computed data from the language selector, that ...
2 votes
1 answer
2k views

I don't know if what I'm trying to do is possible. I'm trying to create an Angular directive that repeats over a data object and prints out its values as well as the values of a second unrelated ...
1 vote
1 answer
3k views

I'm looking to animate the appearance of new elements and the disappearance of old elements when you change the component a v-view element is bound to. However because changing the ViewModel actually ...
0 votes
1 answer
100 views

I'm working on a component that will be inserted into the DOM with a tag name like so: <component></component> instead of the v-component directive. For some reason it's not working. http:...

1
2159 2160 2161 2162
2163