What is the correct syntax to do this.
I need to change the size depending on the screen width
function sizeChanges(){
// check the screen size and make some changes for mobile / desktop etc.
alert(screenWidth);
if(screenWidth < 510)
{
HamburgerHome.size = 'small';
}
};
Cheers
Steve Warby