getBindingProperty method

  1. @override
dynamic getBindingProperty(
  1. String key
)
override

Implementation

@override
getBindingProperty(String key) {
  switch (key) {
    case 'offsetTop': return offsetTop;
    case 'offsetLeft': return offsetLeft;
    case 'offsetWidth': return offsetWidth;
    case 'offsetHeight': return offsetHeight;

    case 'scrollTop': return scrollTop;
    case 'scrollLeft': return scrollLeft;
    case 'scrollWidth': return scrollWidth;
    case 'scrollHeight': return scrollHeight;

    case 'clientTop': return clientTop;
    case 'clientLeft': return clientLeft;
    case 'clientWidth': return clientWidth;
    case 'clientHeight': return clientHeight;

    case 'className': return className;
    case 'classList': return classList;

    default: return super.getBindingProperty(key);
  }
}