This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Build the ionic app -- for production | |
ionic build | |
## Add android platform | |
ionic capacitor add android | |
## Sync the project for android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
var is_single = $("[data-onesingle]").data('onesingle'); | |
var oneselector = $("[data-onepage]").data('onepage'); // selector for page load | |
oneselector = (oneselector) ? oneselector : 'a'; | |
var globalcontainer = $("[data-onecontainer]").data('onecontainer'); // container where put loaded content | |
globalcontainer = (globalcontainer) ? globalcontainer : 'body'; | |
var navigation = $("[data-navigation]").data('navigation'); // For remove active tag in menu | |
var loader = $("[data-oneloader]").data('oneloader'); | |
if(is_single){ | |
$(document).on("click", oneselector , function(e) { |