// Library Autoload
if ($config->has('library_autoload')) {
foreach ($config->get('library_autoload') as $value) {
$loader->library($value);
}
}
// Autoload Libraries
$_['library_autoload'] = array();
onKey(event: KeyboardEvent) {
console.log(event);
//189 - тире
if (event.keyCode != 189 && !String.fromCharCode(event.keyCode).replace(/[^0-9A-Za-zА-Яа-я]/gi, "")) return false;
//(<HTMLInputElement>event.target).value = (<HTMLInputElement>event.target).value.replace(/[^-A-Za-zА-Яа-я]/gi, "");
}