Skip to content

Instantly share code, notes, and snippets.

View PRINCEHR's full-sized avatar

Prince PRINCEHR

  • Cadence Design System
  • India
View GitHub Profile
@PRINCEHR
PRINCEHR / app.js
Created April 30, 2017 06:20 — forked from fer-ri/app.js
Cordova Exit App Confirm
document.addEventListener("deviceready", deviceisready, false);
function deviceisready(){
alert("Device Ready is called");
document.addEventListener("backbutton", function(e){
if ( $('.ui-page-active').attr('id') == 'mainpage') {
//window.location = "#exitDialog";
exitAppPopup();
}else{
history.back();
@PRINCEHR
PRINCEHR / firebase_index.t.ds
Created January 11, 2020 15:00
Firebase_ionic_3_integration_problem_solution_for_index_d.ts_||Just replace the index.d.ts with this code
/**
* @license
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*