I am looking to combine the functions of each different switches into one button so all lights are on when i click it, however, only two functions were executed when i clicked the button.
<div><button v-on:click="onLightar(); onLightmngr(); onLightfy(); onLightmr(); onLightT(); onLightbr();" >Switch on all groundfloor lights </button></div>