I was wondering whether anyone was familiar with whether it was possible to get the Style associated with an element.
To set a style I can do something like:
fw.getDocumentDOM().applyStyle("Some Style", 0);
But I'd like to do something like:
fw.selection.getStyle(); //returns "Some Style"
Fireworks must have this link somewhere because when I click on an element to which a Style has been applied, it shows up on the very right of the properties inspector. Wondering whether an api call exists to get it.
Get Style associated with an element via API
1 reply to this topic