mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:41:34 +08:00
Added cleanup concept to the template
This commit is contained in:
@@ -6,14 +6,15 @@ import sanitizeText from "./sanitizeText"
|
||||
/**
|
||||
* @typedef {import("../element/SelectorElement").default} SelectorElement
|
||||
*/
|
||||
|
||||
export default class SelectorTemplate extends ITemplate {
|
||||
|
||||
/**
|
||||
* Applies the style to the element.
|
||||
* @param {SelectorElement} selector Selector element
|
||||
*/
|
||||
apply(selector) {
|
||||
super.apply(selector)
|
||||
setup(selector) {
|
||||
super.setup(selector)
|
||||
this.applyFinishSelecting(selector)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user