for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Redaxscript\Modules\UnmaskPassword;
use Redaxscript\Head;
use Redaxscript\Module;
/**
* Unmask the password field
*
* @since 4.3.0
* @package Redaxscript
* @category Modules
* @author Henry Ruhs
*/
class UnmaskPassword extends Module\Module
{
* array of the module
* @var array
protected static $_moduleArray =
[
'name' => 'Unmask Password',
'alias' => 'UnmaskPassword',
'author' => 'Redaxmedia',
'description' => 'Unmask the password field',
'version' => '4.3.0'
];
* renderStart
public function renderStart() : void
$script = Head\Script::getInstance();
$script
->init('foot')
->appendFile(
'modules/UnmaskPassword/assets/scripts/init.js',
'modules/UnmaskPassword/dist/scripts/unmask-password.min.js'
]);
}