레퍼런스 listAttributes()

listAttributes()

Returns an Array with the names of the element's attributes.

Note: Use myXML.getString() or myXML.getNum() to return an attribute's value.

예제

Returns

String[]: attribute names.
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.XML.js and open a pull request!

관련 레퍼런스