跳转至

ToolTipAttr

显示一个属性弹窗,带属性图标

Preview

preview-main

Basic Usage

-- 属性
local attrMap = {
    { attrId = 1, attrValue = 123 },
    -- ...
}

local tooltipData = ToolTipData.new({
    tooltipType = NM.md.tipAttr,
    itemTran = self.view.btnExample,
    data = {
        attrMap = attrMap
    },
})

ToolTipManager.Show(tooltipData)
#include <iostream>

int main(void) {
  std::cout << "Hello world!" << std::endl;
  return 0;
}

Detail

Snippest

local tooltipData = ToolTipData.new({
    tooltipType = NM.md.tipAttr,
    itemTran = self.view.btnExample,
    data = {
        attrMap = attrMap
    },
})

ToolTipManager.Show(tooltipData)

Last change: 9 months ago (2023.1.23)

Contribute: newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523, newbility523