jsmage.com
jsmage: September 2013
http://www.jsmage.com/2013_09_01_archive.html
Tuesday, September 24, 2013. Knockout.js - Custom Bindings. Creating custom bindings is one of the best parts of Knockout. It's very, very easy, you just have to add an object to the ko.bindingHandlers. Object. The name of the property on this object will be the name of the binding. All binding handlers should have two functions: init. Function is called when the bindings are applied and the update. Function is called every time when the referred observables are changed and also right after the init.
jsmage.com
jsmage: Knockout.js - Custom Bindings
http://www.jsmage.com/2013/09/knockoutjs-custom-bindings.html
Tuesday, September 24, 2013. Knockout.js - Custom Bindings. Creating custom bindings is one of the best parts of Knockout. It's very, very easy, you just have to add an object to the ko.bindingHandlers. Object. The name of the property on this object will be the name of the binding. All binding handlers should have two functions: init. Function is called when the bindings are applied and the update. Function is called every time when the referred observables are changed and also right after the init.
jsmage.com
jsmage: December 2013
http://www.jsmage.com/2013_12_01_archive.html
Sunday, December 15, 2013. What Is The Color Of A Border With No Color? A very surprising bug appeared a few days ago in EDMdesigner. When the border width of an element was set leaving the color transparent, the border color became black. It was very strange, but I did not care that much because I had more serious problems to solve. Have you ever encountered similar things when you could not really believe what you saw at first? Labels: My stupid bugs. Subscribe to: Posts (Atom). What Is The Color Of A ...
jsmage.com
jsmage: What Is The Color Of A Border With No Color?
http://www.jsmage.com/2013/12/what-is-color-of-border-with-no-color.html
Sunday, December 15, 2013. What Is The Color Of A Border With No Color? A very surprising bug appeared a few days ago in EDMdesigner. When the border width of an element was set leaving the color transparent, the border color became black. It was very strange, but I did not care that much because I had more serious problems to solve. Have you ever encountered similar things when you could not really believe what you saw at first? Labels: My stupid bugs. April 3, 2015 at 6:03 AM. May 2, 2015 at 9:29 AM.
jsmage.com
jsmage: The Module Pattern In Javascript
http://www.jsmage.com/2014/01/the-module-pattern-in-javascript.html
Thursday, January 2, 2014. The Module Pattern In Javascript. Let's see the basic pattern:. Var module = (function myAwesomeModule() {. Var mySecretVariable = 42;. The properties of the returned interface object can refer to anything but most likely they are functions, which provide limited control over the module. Actually this is one way of communicating with the module, namely we tell what we want from the module through these functions. One interesting issue about the module pattern is revealing thing...
jsmage.com
jsmage: August 2013
http://www.jsmage.com/2013_08_01_archive.html
Friday, August 30, 2013. In the post about the basics of functional programming in Javascript. I showed two very simple examples of higher order functions. The first one took one callback function as a parameter, the second returned a function. The real goodness begins, when you combine the two together:. Function createToggler(element, callback1, callback2) {. ActCallback = off;. ActCallback = on;. Var actCallback = on;. Return function toggler() {. Function returns a function called toggler. To the ele...
jsmage.com
jsmage: Knockout.js - Observable Arrays
http://www.jsmage.com/2013/09/knockoutjs-observable-arrays.html
Thursday, September 19, 2013. Knockout.js - Observable Arrays. In my last post. I wrote about observables, computeds and the basic concepts of Knockout. The third main observable type is the observableArray. Observable array is an extended version of observable. You can pass an initial array to the creator function, which will hide it into the function scope of the observable. A very neat thing in observable arrays is, that they have the usual array (or list) specific functions like push. Html head scrip...
jsmage.com
jsmage: Knockout.js - Writable Computeds
http://www.jsmage.com/2013/09/knockoutjs-writable-computeds.html
Friday, September 20, 2013. Knockout.js - Writable Computeds. In my first post about Knockout. The function behind the write. Property will be responsible for the inverse transformation. April 3, 2015 at 8:58 AM. Bạn đang thắc mắc mua hàng ở amazon như thế nào. Thì hãy để chúng tôi giúp bạn giải quyết thắc mắc đó. Chỉ việc liên hệ với chúng tôi chọn sản phẩm bạn thích. Chúng tôi sẽ giúp bạn mua và ship hàng mỹ giá rẻ. Chuyển hàng đi Anh, nhận order hàng uk. Gửi hàng đi Hàn Quốc. I have also started blogg...
jsmage.com
jsmage: Knockout.js - Observables and Computeds
http://www.jsmage.com/2013/09/knockoutjs-observables-and-computeds.html
Wednesday, September 18, 2013. Knockout.js - Observables and Computeds. Yesterday I presented on a meetup about Knockout. Which is an MVVM. Library written in Javascript. I'll try to write my posts about this library based on the feedbacks I got after the presentation, hopefully making everything clear to the reader. Which probably encodes whether some part of the UI is visible if its value is true, BUT it says nothing about the state transition, namely when the value changes from true. Any object with p...
jsmage.com
jsmage: Knockout.js - Extenders
http://www.jsmage.com/2013/09/knockoutjs-extenders.html
Monday, September 23, 2013. Knockout.js - Extenders. One of the great things in Knockout is that you can enhance the functionalities of your observables by using extenders. A good example is when you want to force the observable's value to be an integer between a minimum and maximum value. Validating an e-mail address or an url, or just logging the value changes of the observable are also great examples. To apply an extender to the observable, you have to use the observable's extend. Let's see an example:.
SOCIAL ENGAGEMENT