Hi! Nowdays, I'm trying to make a custom pluggable widget. But I face the problem that i can retrieve a values of enumeration. I found that mxmetaObject has a getEnumMap method in api document, but there is no explanation how to get mxmetaObject. How can i use mxmetaObject?
asked
HyunKyu Chang
1 answers
1
You don't need MxMetaObject, you can have an atttribute of type Enum and use something like this
const s = enumAttribute.universe.map((item, index) => {