Interface IUtilityService

Index

Methods

Methods

public endsWith(str: string, suffix: string): boolean

Parameters

  • str: string
  • suffix: string

Returns

boolean

public evalProperty(entity: any, path: string): any

Parameters

  • entity: any
  • path: string

Returns

any

public forIn(obj: any, action: (value: any, property: string) => {})

Parameters

  • obj: any
  • action: (value: any, property: string) => {}

public getElementsByClassName(cl: string): Array<any>

Parameters

  • cl: string

Returns

Array<any>

public getInstanceType(o: any): string

Parameters

  • o: any

Returns

string

public isNullOrUndefined(obj: any): boolean

Parameters

  • obj: any

Returns

boolean

public newId(): string

Returns

string

public seti18n($scope: IGridScope, language: string)

Parameters

public visualLength(node: any): number

Parameters

  • node: any

Returns

number