苏州瑞玛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

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package container
  3. // 基本组件句柄
  4. // @Implement LAPP_GAAS_GFrame_BACKEND/container/ComponentHandler
  5. type ElementHandler struct {
  6. // 组件实例
  7. instance Instance
  8. }
  9. // 创建基本组件句柄
  10. // 参数
  11. // 1.组件实例
  12. // 返回值:
  13. // 1.基本组件句柄
  14. func NewElementHandler(instance Instance) *ElementHandler {
  15. return &ElementHandler{instance}
  16. }
  17. // @Reference LAPP_GAAS_GFrame_BACKEND/container/ComponentHandler.Instance
  18. func (handler *ElementHandler) Instance() Instance {
  19. return handler.instance
  20. }