interface IRtMenuItem
메뉴 항목 모델.
See Also
Events
Properties
- checked:
booleanoptionaltype이 RtMenuItemType.CHECK이나 RtMenuItemType.RADIO일 때, 항목의 checked 상태. - group:
anyoptionaltype이 RtMenuItemType.RADIO일 때, 같은 group에 속한 항목들 중 하나만 checked 상태가 될 수 있다. - id:
stringoptional메뉴 항목 키. - onClick: (args: {control: RtListControl, item:
any}) =>anyoptionalProperties of argsproperty type i/o opt description control RtListControl in N 리스트 컨트롤 객체. item any in N 메뉴 항목 객체. 사용자가 메뉴 항목을 tap할 때 호출되는 콜백. 명시적으로 true를 리턴하면 메뉴의 IRtMenu.onClick 이벤트가 발생하지 않는다. - onShow: (args: {control: RtListControl, item:
any}) =>anyoptionalProperties of argsproperty type i/o opt description control RtListControl in N 리스트 컨트롤 객체. item any in N 메뉴 항목 객체. 메뉴가 표시되기 직전에 호출되는 콜백. 상태에 따라 항목의 속성을 변경할 수 있다. - tag:
anyoptional메뉴 항목과 관련된 임의 데이터. - type: RtMenuItemType optional
메뉴 항목의 종류.
Inherited Properties
- IRtMenuBase.label