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
import { Pipe, PipeTransform } from '@angular/core'; | |
@Pipe({ | |
name: 'password' | |
}) | |
export class PasswordPipe implements PipeTransform { | |
transform(value: string, hide: boolean = true): any { | |
return !hide ? value.replace(/./g, '*') : value; |
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
var EdgarJs = { | |
Session: { | |
load(key, value) { | |
if (localStorage.getItem(key)) { | |
return localStorage.getItem(key); | |
} | |
return "not existe"; |
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
function CheckEmptyFields() | |
{ | |
$(".required").each(function() | |
{ | |
if($.trim($(this).val()).length == 0) | |
{ | |
$(this).addClass("warning"); | |
} | |
else | |
{ |
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
input[type="radio"] | |
{ | |
vertical-align:top; | |
} |
NewerOlder