#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| import * as frameModule from 'ui/frame'; | |
| frameModule.topmost().ios.controller.navigationBar.barStyle = 1;// 1 == white, 0 == black |
| import * as application from 'application'; | |
| import { Color } from 'color'; | |
| let window = application.android.foregroundActivity.getWindow(); | |
| window.setStatusBarColor(new Color(50, 0, 0, 0).android); |
| import * as transition from "ui/transition/transition"; | |
| import * as platform from "platform"; | |
| import lazy from "utils/lazy"; | |
| const screenWidth = lazy(() => platform.screen.mainScreen.widthPixels); | |
| const screenHeight = lazy(() => platform.screen.mainScreen.heightPixels); | |
| let interpolator = lazy(() => new android.view.animation.AccelerateDecelerateInterpolator()); | |
| export class CustomTransition extends transition.Transition { | |
| private _direction: string; |
| @import '~nativescript-theme-core/scss/light'; | |
| @import '~/variables'; | |
| $background: $primary; | |
| // ActionBar | |
| $ab-background: $primary; | |
| $ab-color: white ; |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| package com.danielgek.webclient.controllers; | |
| import com.opensymphony.xwork2.ModelDriven; | |
| import org.apache.struts2.rest.DefaultHttpHeaders; | |
| import org.apache.struts2.rest.HttpHeaders; | |
| import org.apache.struts2.rest.RestActionSupport; | |
| /** | |
| * Created by danielgek on 26/11/15. | |
| */ |