@ts-core/angular 15.0.51 → 15.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "15.0.51",
3
+ "version": "15.0.52",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
@@ -11,7 +11,8 @@ export declare class ViewUtil {
11
11
  static parseElement<T extends HTMLElement = HTMLElement>(element: IViewElement<T>): T;
12
12
  static createBase64(element: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): string;
13
13
  static selectContent(container: IViewElement, isNeedCopyToClipboard?: boolean): void;
14
- static setBackground(container: IViewElement, image: string, repeat?: string): void;
14
+ static setBackground(container: IViewElement, image: string, repeat?: string, error?: string): void;
15
+ static getBackgroundUrl(item: string): string;
15
16
  static createElement<T = any>(name: string, className?: string, innerHTML?: string): T;
16
17
  static appendChild(parent: any, child: any): void;
17
18
  static removeChild(parent: any, child: any): void;
@@ -45,6 +46,7 @@ export declare class ViewUtil {
45
46
  static getProperty(container: IViewElement, name: string): any;
46
47
  static setProperty(container: IViewElement, name: string, value: any): void;
47
48
  static removeProperty(container: IViewElement, name: string): void;
49
+ static getAttribute(container: IViewElement, name: string): any;
48
50
  static removeAttribute(container: IViewElement, name: string): void;
49
51
  static setAttribute(container: IViewElement, name: string, value: any): void;
50
52
  static getStyle(container: IViewElement, name: string): any;