The src/
folder is just one of the items inside the project's root folder. Other files help you build, test, maintain, document, and deploy the app. These files go in the root folder next to src/
.
Naming Convention of Files:
FolderName:
hero-detailes
Component :
hero-detail.component.ts
Html
[Read More]
If want json data as array of objects use
json_encode(array_values($faqqstns['aaData']));
Naming Convention For Variables : variable first word first letter should be small and next words first letter should be capital.
arrayList :<type-of-variables> ;
[Read More]
1)Install plugin WordPress REST API (Version 2) and activate
API Calls
Posts
1)Get site posts
http://localhost/websiteName/wp-json/wp/v2/posts
2)Get all posts with the search term “xxxx”?
http://localhost/websiteName/wp
Add circles on map
1)Add script like:
2)Above url calls initMap function.
a)in initMap function we create google map and create predefined circles.
b)we can add map click event to draw circle when we click on map.
3)Based on address field chnage we create a new circle on map (*without intersect previous cir
Formvalidations too much recursion error
solution : all form fields must be inside of class form-group
What is swagger api?
Swagger is a specification for documenting REST API. It specifies the format (URL, method, and representation) to describe REST web services. It provides also tools to generate/compute the documentation from application code.
The goal of Swagger is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access t
Add Below Code at app.component.ts =================================== import { IonicApp, App, MenuController } from 'ionic-angu
example:
url:localhost/search?searchTerm=test+testing
expected url:localhost/search/2?searchTerm=test+testing
:localhost/search/3?searchTerm=test+testing
:localhost/search/4?searchTerm=test+testing
$config['base_url'] = base_url().'search';
$config['suffix'] = '?' . ht