PHP code example of ukmnorge / spa
1. Go to this page and download the library: Download ukmnorge/spa library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ukmnorge / spa example snippets
js
Director.openPage("pageTestHello");
js
var buttons = [{
name : 'Slett',
class : "aaa",
callback : async ()=> {
// Slett noe
}
}];
this.spaInteraction.showDialog('Vil du melde av?', 'Vil du virkelig slette dette?', buttons);