attributeChangedCallback

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

MDN Reference