mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
19 lines
410 B
JavaScript
19 lines
410 B
JavaScript
const GuiObject = require("./GuiObject");
|
|
const { findDescendantByTypeAndId } = require("../utils");
|
|
|
|
class Container extends GuiObject {
|
|
/**
|
|
* getclassname()
|
|
*
|
|
* Returns the class name for the object.
|
|
* @ret The class name.
|
|
*/
|
|
static getclassname() {
|
|
return "Container";
|
|
}
|
|
getlayout(id) {
|
|
return findDescendantByTypeAndId(this, "layout", id);
|
|
}
|
|
}
|
|
|
|
module.exports = Container;
|