blackberry/WebWorks-Samples — Issue #22: swipemenu feature enhancement: add ID property to button elements
Author: astanley
Created: 2012-03-09 14:56:52+00:00
State: open

Developers can customize button elements if they can target them using CSS. Adding a unique ID element to each newly added button will help enable this.

Solution A: Allow developer to provide their own ID value?

Source:
http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/onSwipeDown-Menu/m-p/1609103/highlight/true#M21300

Solution B: Some sort of auto-generated ID? Perhaps returned as a value from the addButton() method?