name
hasAttributes ( )
import prohtml.*;

StandAloneElement standAlone;

void setup(){
  standAlone = new StandAloneElement("img",null);
  standAlone.addAttribute("scr","images/getAttribute");
  standAlone.addAttribute("width","250");
  standAlone.addAttribute("height","20");

  println(standAlone.hasAttributes());
}
description
Use this method to see if an element has attributes.
syntax
hasAttributes();
returns
boolean, true if this element has attributes
usage
Web & Application
related