setAttributeStyle method

dynamic setAttributeStyle(
  1. String property,
  2. String value
)

Implementation

setAttributeStyle(String property, String value) {
  if (style.getPropertyValue(property) == value) {
    return;
  }
  internalSetAttribute(property, value);
  // TODO: This have some problems about cascading order. I will fixed it later. @XGHeaven
  attributeStyle[property] = value;
}