Joel Goldsmith
Posts: 0
Joined: Mon Aug 25, 2014 9:09 pm

Component attributes list with appropriate values.

Where can I find a list of the attributes for various components that I can use when I click on "more properties"? i.e. per your example, in a button's properties you can add "data-icon" as the property and "star" as the value. I'm looking for a list of the attributes such as "data-icon". Thanks.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Component attributes list with appropriate values.

Hello Joel,

http://api.jquerymobile.com/category/...
open the desired widget. for example, the button http://api.jquerymobile.com/button/ and see the list of Options, each option has an explanation if it is possible, and if it is possible how to use the option through the attribute
for example
http://api.jquerymobile.com/button/#o... there is written:
preThis option is also exposed as a data attribute: data-icon="star"./pre
and so on for all options for all widgets.

Joel Goldsmith
Posts: 0
Joined: Mon Aug 25, 2014 9:09 pm

Component attributes list with appropriate values.

Thanks, that seems to cover a lot of options. What I was looking for specifically was not there. I would like to make a checkbox appear directly on the page, instead of looking like a button, like this.....
Image

Mine currently looks like a button. I thought there might be an attribute like background=transparent?

Image

(hope you can see the pictures).
Thank you.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Component attributes list with appropriate values.

Joel,

You can't add in More Properties such properties as background=transparent. You need to create a css file in which you should set properties for the checkbox.
for example
pre[dsid=mobileradiogroup_X] label{
background: url("../image/image.jpg");
background-size:cover;
}/pre
Where mobileradiogroup_X is the name of the radio group

Joel Goldsmith
Posts: 0
Joined: Mon Aug 25, 2014 9:09 pm

Component attributes list with appropriate values.

OK. I'll work on that. Thank you.

Return to “Issues”