Category Archives: Javascript

Angular $q.all method

So I have recently been working back within angular. It is like drinking wine with an old friend, you do not forget the good times and toast to the success. I often enjoy using the $q library that comes with angular. (always check out the documentation on the angular site). Well this time round I

Read more

Vuejs – filters

This entry is part 7 of 7 in the series VueJs

This entry is part 7 of 7 in the series VueJsWell we have taken a good few steps in our VueJs series and now it is high time we start looking at custom filters! Now this might have confusion from the previous series post about filtering v-for loops, that is with the filterBy custom property.

Read more

Vuejs – filterBy OrderBy

This entry is part 6 of 7 in the series VueJs

This entry is part 6 of 7 in the series VueJsOur previous post really explored how to output lists onto your page using VueJs, if you need to have a look I insist you do as it is a great starting point on how to render lists that we are now going to add to.

Read more

VueJs rendering lists – v-for

This entry is part 5 of 7 in the series VueJs

This entry is part 5 of 7 in the series VueJsWell we are onto our next post in this VueJs series and we shall tackle rendering lists in vue using the v-for directive. We will work our way up further and further in this series but before you can run you must learn to walk

Read more

VueJs method and event handling

This entry is part 4 of 7 in the series VueJs

This entry is part 4 of 7 in the series VueJsVueJs method and event handling is done very nicely and if you are coming from an angular background you will find yourself starting to pick up VueJs rather quickly and neatly. If you are coming from jQuery then Vue and Angular take a different approach

Read more

VueJs directives introduction

This entry is part 3 of 7 in the series VueJs

This entry is part 3 of 7 in the series VueJsThis post is an introduction to directives in Vuejs. We have a later post on creating custom directives in VueJs, which will go into further detail on creating and using them. So directives are a way of providing a mechanism for mapping data changes to

Read more

VueJs class and style bindings

This entry is part 2 of 7 in the series VueJs

This entry is part 2 of 7 in the series VueJsThis episode in the VueJs series will focus on class and style bindings. It shall be a short lesson but all these little bits and pieces early on will help in the long term of coming together to be able to create much more complex

Read more

VueJs an introduction

This entry is part 1 of 7 in the series VueJs

This entry is part 1 of 7 in the series VueJsSo in the last 6 months I have been working solely with VueJs. And I have to say I am overjoyed at how wonderful this library is. It’s main purpose is for building web interfaces and rather than being a huge library that can be

Read more

addEventListener and attachEvent for IE8

addEventListener and attachEvent for IE8. Getting to that stage where your almost out of IE8’s reach but it just keeps pulling you back in? I too have had instances where I’ve tried to make the breakaway but have been pulled back. One such is trying to use addEventListener more, however if you are in the

Read more

HTML5 Battery API

The battery API that comes with HTML5 is a really cool new API that will be great to use. It allows you to check the battery level status and whether the battery is being charged. As with all new HTML5 it is best to check: caniuse.com – Battery API. It will determine if you can

Read more