Class: Interactor

ht.ui. Interactor

new Interactor(component)

交互器基类,处理交互应该从此类继承

Parameters:
Name Type Description
component ht.ui.View

组件对象

Methods

getComponent() → {ht.ui.View}

获取交互器绑定的组件对象

Returns:

组件对象

Type
ht.ui.View

getView() → {HTMLElement}

返回组件的交互 DOM 对象,一般无需处理此函数

Returns:

DOM 对象

Type
HTMLElement
© 2017 Hightopo Inc. All rights reserved. - Email: service@hightopo.com