Introduction to functional interfaces A functional interface is an interface that has a single abstract method. Functional interfaces can have multiple static and default methods, but they should have only one abstract method to qualify as a functional interface. Functional interfaces were introduced in Java 8 in order to implement lambda expressions.
Searched for ""
18. Class bindings
Welcome to yet another binding discussion. Today, I will be schooling you on class bindings. In other words, we will be playing around with HTML element’s class attribute by binding data to it using Vue. Why? Because we might be required to often manipulate the class list of an element. Just like any other data binding,… Continue reading
9ab. WebDriver – Using Actions Class
Lights, camera, action! Yes, today its all about Actions. Oh, I am not talking about those fight sequences you watch in movies but about the keyboard and mouse actions. 😛 Selenium WebDriver provides a user-facing API for performing complex user gestures. We want automation everywhere! So, instead of using keyboard and mouse directly, we can… Continue reading
14. Two-way data binding with v-model
Finally, the day has come, to understand the missing piece of the puzzle, data binding. So far, we have seen how to use interpolations, v-bind for attribute binding and v-on to listen to events. The missing piece was v-model which is used for two-way data binding and this is exactly what we will be concentrating… Continue reading
Hibernate bootstrapping
In this article, I will introduce you the new native bootstrapping API of Hibernate 5.
9r. WebDriver – Assert and Verify
Hiya superstars! We have been locating elements for quite some days now. Let us switch gears and talk about “Assert and Verify” today. To remember, The major difference between the two when the assert or verify condition/check fails is, Assert will fail the test and abort the execution of the current test case. All other test steps after… Continue reading
12. Listening to keyboard and mouse events
Ready to listen for some key codes on your keyboard and some mouse buttons using Vue? Let’s dig deep then! Make sure you read up on “Listening to DOM events and Event modifiers” if you haven’t already. Because this is more of a continuation to what we already saw.
13. Let’s use shorthands
Welcome back! Did someone say shorthands? Yes, that is what we will be focusing on today. We have been working with Vue directives for quite some time now. The v- prefix helps in more than one way. It visually represents that we are dealing with Vue related attributes in our code (the most important… Continue reading
11. Listening to DOM events and Event modifiers
We have been kind of on a dry spell on the events front. Let’s learn how to listen to DOM events,click events in specific, today. Take a look at the starting code,
10. Rendering Lists Part 2 (Iterating over objects)
Hope you are already aware of iterating over array elements using v-for directive. In our applications, we deal with objects as much as arrays. So, without further ado let’s understand how to iterate over the various properties of an object. I hear you say, “what about an array of objects then?” I got you. We… Continue reading