@Cankaya wrote:
Hi,
it's OK.this.storage.get('buttonBool').then((data)=>{this.flag=data;}); this.storage.get('buttonBool').then((data)=>{console.log(this.flag);});But
this.storage.get('buttonBool').then((data)=>{this.flag=data;}); console.log(this.flag);why undefined value?
How do I use it?
Posts: 2
Participants: 2