Author: pawan
-
Auto complete address from google api
you need to get your api key from google api console for place api and also add the domain where it is being used. Note: Also your input field should have the ID of autocomplete-address as per the code above
-
Creating a Module for Joomla
steps are as follows. example content of xml file. Note the admin fields can also be added here with type of field under <config>. step3 – add file mod_myweb_advancedsearch.php with contents like below.This file include require_once for helper.php which is a typical backend for the moduleAlso this file contains links to css and Js.and the…
-
vue methods
The v-on directive is used on the <div> element to listen to the ‘click’ event. When the ‘click’ event occurs the ‘writeText’ method is called and the text is changed. example
-
vue directives
Different Vue Directives The different Vue directives we use in this tutorial are listed below. Directive Details v-bind Connects an attribute in an HTML tag to a data variable inside the Vue instance. v-if Creates HTML tags depending on a condition. Directives v-else-if and v-else are used together with the v-if directive. v-show Specifies if…
-
python data types
Python has the following data types built-in by default, in these categories: Text Type: str Numeric Types: int, float, complex Sequence Types: list, tuple, range Mapping Type: dict Set Types: set, frozenset Boolean Type: bool Binary Types: bytes, bytearray, memoryview None Type: NoneType
-
python – unpack a collection
If you have a collection of values in a list, tuple etc. Python allows you to extract the values into variables. This is called unpacking. This is also called de-structuring in javascript. example