Smartsite SXML | Copy Code |
---|---|
Add the value and get it: {spice.command.add('img.rotate.degrees', 10)} {spice.command.get('img.rotate.degrees')} Clear the values and get it: {spice.command.clear()} {spice.command.get('img.rotate.degrees', default="Don't rotate")} |
Example Result | Copy Code |
---|---|
Add the value and get it: 10 Clear the values and get it: Don't rotate |