Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
How to categorize a year as a Leap or Non-Leap using Vue?
Vue can be defined as a progressive framework for building the user interfaces. It has multiple directives that can be used as per the user needs. The basic core library is mainly focused on building the view layer only and is also easy to pick up other libraries or integrate with them. In this article, we will use the Vue filters to check whether a string is a Leap year or not. A leap year has 366 days, whereas a non-Leap year has only 365 days. We can use logic to check whether a year is a Leap or not. ...
Read MoreHow to capitalize a String using VueJs filters?
Vue can be defined as a progressive framework for building the user interfaces. It has multiple directives that can be used as per the user needs. The basic core library is mainly focused on building the view layer only and it is also easy to pick up other libraries or integrate with them. In the below article, we will see how to capitalize a particular string. Capitalizing is basically a process where only the first character of a string is in capital letters and remaining all the characters are in lower case. We can capitalize a string by getting the ...
Read MoreHow to call a VueJS component method from outside the component ?
Generally, we cannot call a Vue component method from outside the component. But we have a way to call the component from outside. We can use the Vue’s ref Directive. This metthod allows a component to be referenced from the parent for direct access. To apply the ref Directive, we will first create a div element with id ‘app’. Once the div element is created, we can apply the ref to the element by initializing the its data. Syntax Following is the syntax to call a component method from outside the component in Vue.js − Here, the ...
Read MoreHow to call a function with Mouse hover in VueJS?
While hovering over a div or an element sometimes we require to display some information. This information or data is displayed while hovering over it with the mouse. Therefore, to display this data, we basically use the JS function @mouseover to display data. In the above specific case, we will make the mouseover function which will return data on hover. Please look at the below example for more clarification. Syntax Following is the syntax to call a function with mouse hover in Vue.js − mouseOver: function(){ this.active = !this.active; } Here mouseOver ...
Read MoreHow to bind the background image in Vue.js?
The value for v-bind:style is just a plain JavaScript object that works upon some rules for binding the content. The value of the background image should be a string. So we can apply or data-bind the background image in Vue.js using the style tag and then defining the backgroundImage URL in it. It will automatically retrieve the url from the string and then display the same data content on the browser webpage. To access the background image, make a div element and define the background image in it with url. The url will be retrieved from the JS file. Example ...
Read MoreHow to apply Switch in Vue using Filters?
Vue can be defined as a progressive framework for building the user interfaces. It has multiple directives that can be used as per the user needs. The basic core library is mainly focused on building the view layer only and is also easy to pick up other libraries or integrate with them. The vue components provides the filter functionality to filter out the requests and response that lets the user to apply different formatting and transformations to the template dynamic data. Filters are used in two places : mustache interpolation and v-bind expressions. Functions are appended in the end of ...
Read MoreHow to add or apply global variables in Vue.js?
In a Vue.js application there may be data or utilities that are used in many components, but you don’t want to change its scope and keep its value same for all the components. These types of variables are called the global variables. In such cases, the user can use the following syntax for defining the prototype − Vue.prototype.$appName = 'My App' Now this $appName will be available on all the Vue instances, even before creation. The $ defined before the appName is the convention used for properties that are available to all the instances. The user can also ...
Read MoreUnderstanding the Internal Components of a Router: A Comprehensive Guide
Introduction Welcome to the world of routers! If you've ever wondered what's going on inside these essential networking devices, you're in for a treat. In this comprehensive guide, we'll dive deep into understanding the internal components of a router and unravel their mysteries. From routing algorithms to network configuration it's all here in one handy place. So let's gear up and get ready for an exciting journey as we explore the heart and soul of routers. Read on to uncover how each component plays its part in keeping our digital lives connected smoothly and efficiently! Router and its functioning A ...
Read MoreUnderstanding Interim Standard 95 (IS-95) and its significance in CDMA Technology
Introduction In the world of mobile telecommunications, understanding the evolution of wireless technology is crucial for appreciating today's advanced networks. One key milestone in this journey is Interim Standard 95 (IS-95), a groundbreaking digital cellular technology that paved the way for Code Division Multiple Access (CDMA). In this article, we'll unravel the intricacies of IS-95 and explore its significance in shaping CDMA as we know it. Join us on this fascinating deep dive into telecom history and discover how IS-95 helped revolutionize mobile communication! Understanding Interim Standard 95 (IS-95) Interim Standard 95 (IS-95) is a CDMA-based digital cellular technology that ...
Read MoreSetting Up Full Video Background using video.js
Video.js is a powerful tool for working with video on the web, providing a common interface for different types of video players including HTML5, Flash, and others. It is designed to be easy to use and customize, with a wide range of options for controlling the look and feel of the player. In this tutorial, we will show how you can set up a full video background for a video player using this open-source JavaScript library called video.js. For the purpose of this tutorial, we will focus on how to set up a full video background using video.js. This can ...
Read More