z-toggleicon use to toggle icon

z-toggleicon use to toggle icon using from and to attributes.