Page 1 of 1

button data-iconpos set to right

Posted: Wed Nov 14, 2012 10:01 pm
by burbley

I have a button on my screen.

I added a codedata-icon/code entry under more properties. I set that to codearrow-r/code.
I also added a codedata-iconpos/code entry under more properties. I set that to coderight/code.

When I load the page and view the properties with Chrome, the element shows that the attribute for the data-icon is set to codedata-icon="arrow-r"/code as I expected.

However, the attribute for the data-iconpos is not set the value I specified. The attribute appears as codedata-iconpos="left"/code instead of code"right"/code.

If I add code to the Page Load to:

codeTiggr('login').attr('data-iconpos', 'right').refresh();/code

The attribute is now set correctly but the icon is still stuck on the left.

How do I get it to appear on the right?


button data-iconpos set to right

Posted: Thu Nov 15, 2012 12:41 am
by maxkatz

Thank you.. we'll test and update.


button data-iconpos set to right

Posted: Thu Nov 15, 2012 11:58 am
by Maryna Brodina

Hello! You can change icon position in Properties

Image


button data-iconpos set to right

Posted: Thu Nov 15, 2012 1:18 pm
by Maryna Brodina

It's not possible to do via More Properties because of codegeneration bug, but you can also try this JS Tiggr('login').data('iconpos', 'right').buttonMarkup()