attributeChangedCallback

abstract fun attributeChangedCallback(name: String, oldValue: JsAny?, newValue: JsAny?)(source)

MDN Reference