API
Component

PopMenu ($UI/system/components/justep/popMenu/popMenu)

使用范围:UI2

Contents

component PopMenu ($UI/system/components/justep/popMenu/popMenu) extends PopOver

<b>使用场景</b>:页面需要弹出菜单、下拉菜单; <b>使用方法</b>:配合button组件使用,可以设置popMenu在页面停靠的位置; ## <b>文档链接</b>:#http://docs.newdao.net/zhuo-mian-nei-rong-zu-jian/dan-chu-cai-dan.html#

	
	

Constructor Top

  PopMenu ()
  PopMenu ( options)

Properties Top

boolean autoHidable

点击后是否关闭

Attributes Top

boolean autoHidable

点击后是否关闭

Operations Top

void hide ()
void show ()

Constructor details Top

public PopMenu ()

<b>使用场景</b>:页面需要弹出菜单、下拉菜单; <b>使用方法</b>:配合button组件使用,可以设置popMenu在页面停靠的位置; ## <b>文档链接</b>:#http://docs.newdao.net/zhuo-mian-nei-rong-zu-jian/dan-chu-cai-dan.html#

	
	

public PopMenu ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Properties Detail Top

public boolean autoHidable

点击后是否关闭

Attributes Detail Top

public boolean autoHidable

点击后是否关闭

Operations Detail Top

public void hide ()

隐藏弹出菜单

See Hide

Return Value

void

public void show ()

显示弹出菜单

See Show

Return Value

void