abstract class PaperInputElement : HTMLElement() { abstract var label: String? abstract val value: MutableProperty } interface Property { fun get(): T fun subscribe(listener: (T) -> Unit): Subscription } interface MutableProperty : Property { fun set(newValue: T) }