Change html when device orientation change in RC4


#1

Hi All ! Could suggest anyone please ? What could happend in RC4, that now my code dose not working and I can not change css style when device orientation change. In RC3 it working nice ! I am only trying change css style in span when device orientation change !

@Component({
host: {
’(window:resize)’: ‘changeOrientation($event)’
}
})

changeOrientation($event)
{
this.redraw();
}


Property 'device' does not exist on type 'typeof Device'