KSS is in production mode. Setup

Kss client action aliasing demo

There are three buttons. If you click on the first button, it changes the text (and style) of the second and third button. Since we have the same action twice, they would merge if we had not used aliases. Look at the link on the kss file to understand.

action-client: setAttribute htmlid(button_2);
setAttribute-name: value;
setAttribute-value: 'RESET ME';

action-client: setAttribute htmlid(button_3) alias(setAttributeRight);
setAttributeRight-name: value;
setAttributeRight-value: 'RESET ME TOO';

Click the button here.

Check if aliased rules can merge. Click on the kss link above to understand more.

Click the button here.

Check if aliased rules can merge. This will act on the second and third button, and we need to check that the third button in the row above (button_6) did not change.

Click the button here.