useDataBinding
Import
import { mix, useDataBinding, BoltElement } from 'c/boltage';Usage
export default class myLwc extends mix( BoltElement, useDataBinding) { }Methods
Section titled “Methods”bind(event) : void
Section titled “bind(event) : void”Example
Section titled “Example”Tuple as the resolve condition
Section titled “Tuple as the resolve condition”export default class myLwc extends mix( BoltElement useDataBinding) { @track value = 'foo';}<lightning-input data-bind="value" value={value} onchange={bind}></lightning-input>