Ravenight
Posts: 0
Joined: Sun Jan 11, 2015 3:43 pm

How do you utilize the Storage object? - AngularJS/Bootstrap

I'm sure I am missing something simple, but I cannot find the object to call to use the Storage functions. I see the "storage" folder and the files that define the functions for basestorage, LocalStorage, WindowStorage, and SessionStorage.

However, the Apperyio helper object does not seem have these connected to it.

I know I can use sessionStorage.setItem('variable_name','value'); directly, but I would like to make use of the pre-built helper objects instead of writing my own.

Can someone point out what I am missing here in order to set/get SessionStorage objects in a service using the pre-built Appery functions?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How do you utilize the Storage object? - AngularJS/Bootstrap

Hi --

Unfortunately, storage entities API are unavailable at the moment within Angular/Bootstrap builder.

Ravenight
Posts: 0
Joined: Sun Jan 11, 2015 3:43 pm

How do you utilize the Storage object? - AngularJS/Bootstrap

Okay. Good to know. I thought I must be going a bit crazy trying to find it.

For now, I will move forward with the more manual way of accessing it.

codesessionStorage.setItem('variable_name','value');/code

Any idea on when this will be added?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How do you utilize the Storage object? - AngularJS/Bootstrap

I need to clarify this with our development team and give you more details about it.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How do you utilize the Storage object? - AngularJS/Bootstrap

Hello,

This is not planned to be added since all storage in Angular are replaced with scope.

Return to “Issues”