苏州瑞玛APS项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
615 B

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package container
// 基本组件句柄
// @Implement LAPP_GAAS_GFrame_BACKEND/container/ComponentHandler
type ElementHandler struct {
// 组件实例
instance Instance
}
// 创建基本组件句柄
// 参数
// 1.组件实例
// 返回值:
// 1.基本组件句柄
func NewElementHandler(instance Instance) *ElementHandler {
return &ElementHandler{instance}
}
// @Reference LAPP_GAAS_GFrame_BACKEND/container/ComponentHandler.Instance
func (handler *ElementHandler) Instance() Instance {
return handler.instance
}