mframejs
Version:
simple framework
20 lines • 526 B
JavaScript
const attribute = new Map();
export class ContainerAttributes {
static regAttribute(_class, name) {
if (!attribute.has(name)) {
attribute.set(name, _class);
}
if (!attribute.has(name)) {
attribute.set(name, _class);
}
}
static findAttribute(name) {
if (attribute.has(name)) {
return attribute.get(name);
}
else {
return null;
}
}
}
//# sourceMappingURL=containerAttributes.js.map