amplesdk icon indicating copy to clipboard operation
amplesdk copied to clipboard

Setting class attribute on elements in certain UI state removes the state CSS

Open clientside opened this issue 14 years ago • 0 comments

For example you have an element being draggable. Now, if you call setAttribute("class", "newclass") the ":drag" pseudo-class is not applied any more.

clientside avatar Jan 21 '11 14:01 clientside