Onsen에서의 setMenuPage > 질문과 답변 | 그누보드5

Onsen에서의 setMenuPage

  • profile_image
    어두운은신
    • 1건
    • 170회
    • 15-09-06 08:13

http://sir.co.kr/so_app/278 에서 멀티레벨 푸시 메뉴와 같은 옵션이 있는 것 같습니다. 

 

http://onsen.io/reference/ons-sliding-menu.html#method-setMenuPage 

 

구글을 해보니 Example이 없는데..  아래를 이용해서 한번 만들어 봐야 겠습니다.

 

 

setMenuPage(pageUrl, [options]) 

Show the page specified in pageUrl in the side menu pane.

Parameters
NameTypeDescription
pageUrlStringPage URL. Can be either an HTML document or an <ons-template>.
optionsObjectParameter object.
options.closeMenuBooleanIf true the menu will be closed after the menu page has been set.
options.callbackFunctionThis function will be executed after the menu page has been set.

openMenu([options]) 

Slide the above layer to reveal the layer behind.

Parameters
NameTypeDescription
optionsObjectParameter object.
options.callbackFunctionThis function will be called after the menu has been opened.

 

댓글1

  • profile_image
    최고관리자

답변입니다...

댓글
자동등록방지 숫자를 순서대로 입력하세요.
이름
비번
로고

You can relay on our amazing features list and also our customer services will be great experience.

our amazing features list and also our customer services is great.

코리아 세무회계사무소

서울 송파구 올림픽로35 다길
2층, 3층, 4층

02-1234-5678
© All Rights Reserved by 코리아 세무회계사무소