mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-22 22:27:30 +08:00
Selector element added
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
/**
|
||||
* @typedef {import("./GraphNode").default} GraphNode
|
||||
*/
|
||||
export default class Template {
|
||||
|
||||
/**
|
||||
* Computes the html content of the target element.
|
||||
* @param {HTMLElement} element Target element
|
||||
* @param {GraphNode} element Target element
|
||||
* @returns The computed html
|
||||
*/
|
||||
render(element) {
|
||||
@@ -11,7 +14,7 @@ export default class Template {
|
||||
|
||||
/**
|
||||
* Returns the html elements rendered by this template.
|
||||
* @param {HTMLElement} element Target element
|
||||
* @param {GraphNode} element Target element
|
||||
* @returns The rendered elements
|
||||
*/
|
||||
getElements(element) {
|
||||
|
||||
Reference in New Issue
Block a user