Class NgxLocalStorageService
Methods
getFont
- getFont(callBack: (font: I3JS.Font) => void, fontName?: string, fontWeight?: string): void
Parameters
callBack: (font: I3JS.Font) => void
fontName: string = 'helvetiker'
fontWeight: string = ''
Returns void
getItem
- getItem(key: string): string
getMaterial
Parameters
key: string
callBack: (material: I3JS.Material, source?: any) => void
Returns void
getObject
Parameters
key: string
Parameters
Optional morphTargets: any
Optional source: any
Returns void
Returns void
getScene
Parameters
key: string
callBack: (mesh: I3JS.Scene, source?: any) => void
Returns void
getTexture
Parameters
key: string
callBack: (texture: I3JS.Texture, source?: any) => void
Returns void
onError
- onError(event: any): void
onProgress
- onProgress(xhr: any): void
removeItem
- removeItem(key: string): void
setItem
- setItem(key: string, value: string): void
setScene
- setScene(key: string, scene: I3JS.Scene): void
Local Storage Service
See the ngx3js docs page for details.