for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* CuteAlert.php
*
* Adapter for the CuteAlert library.
* @package jaxon-dialogs
* @author Thierry Feuzeu <[email protected]>
* @copyright 2022 Thierry Feuzeu <[email protected]>
* @license https://opensource.org/licenses/BSD-3-Clause BSD 3-Clause License
* @link https://github.com/jaxon-php/jaxon-dialogs
*/
namespace Jaxon\Dialogs\Dialog\Library;
use Jaxon\Dialogs\Dialog\AbstractLibrary;
use Jaxon\App\Dialog\Library\AlertInterface;
use Jaxon\App\Dialog\Library\ConfirmInterface;
class CuteAlert extends AbstractLibrary implements AlertInterface, ConfirmInterface
{
* @const The library name
const NAME = 'cute';
* The css files
* @var array
protected $aCssFiles = ['style.css'];
* The js files
protected $aJsFiles = ['cute-alert.js'];
* @inheritDoc
public function getName(): string
return self::NAME;
}
public function getUri(): string
return 'https://cdn.jsdelivr.net/gh/jaxon-php/[email protected]/dist/libs/cute-alert';