增加显示隐藏动画
This commit is contained in:
@@ -14,4 +14,23 @@ export class CommonRes {
|
||||
public static getIconClose(): Resource {
|
||||
return $r("app.media.ic_close");
|
||||
}
|
||||
|
||||
public static getIconEyeOn(): Resource {
|
||||
return $r("app.media.ic_eye_on");
|
||||
}
|
||||
|
||||
public static getIconEyeOff(): Resource {
|
||||
return $r("app.media.ic_eye_off");
|
||||
}
|
||||
|
||||
public static getImageRes(resName: string): Resource {
|
||||
return $r(`app.media.${resName}`);
|
||||
}
|
||||
}
|
||||
|
||||
export class CommonMediaName {
|
||||
private constructor() {
|
||||
}
|
||||
static readonly IcEyeOn = "ic_eye_on";
|
||||
static readonly IcEyeOff = "ic_eye_ff";
|
||||
}
|
Reference in New Issue
Block a user