Checkbox list

18 views
Skip to first unread message

Trygve Wastvedt

unread,
Aug 18, 2014, 11:29:35 AM8/18/14
to chocolat...@googlegroups.com
Sorry, more questions. Maybe I'm just missing some obvious documentation? I'm trying to create a checkbox list, like this: http://www.macobserver.com/imgs/tips/20131010_Universal.jpg. (It doesn't have to be circles with checkmarks in them, but something native-looking.) Just creating the checkbox list like a normal html form doesn't give me native styling. Is there a class to add or method to run? Sorry if this one's obvious.

Trygve Wastvedt

unread,
Aug 18, 2014, 11:35:12 AM8/18/14
to chocolat...@googlegroups.com
The existing deletable list seems to be close. Is there a more generic implementation?

Trygve Wastvedt

unread,
Aug 19, 2014, 9:43:52 AM8/19/14
to chocolat...@googlegroups.com
Right now I'm accomplishing this with a simple <ul class="list">, and setting the "selected" class on each <li> element when it is clicked. This just highlights the entire list item, which works ok for now. I still think it would be great to be able to imitate the native checkbox list.

Trygve


On Monday, August 18, 2014 11:29:35 AM UTC-4, Trygve Wastvedt wrote:

Robert Biggs

unread,
Aug 22, 2014, 10:18:13 AM8/22/14
to chocolat...@googlegroups.com
Hmmm.... Good point. If you want the immediate equivalent, use switches. I look at putting that into the next dot release, which I'm working on at the moment. Switches are in fact checkboxes. The have checkboxes hidden inside them. 
Reply all
Reply to author
Forward
0 new messages