Onsen에서의 setMenuPage > 앱개발

앱개발

Onsen에서의 setMenuPage 정보

Onsen에서의 setMenuPage

본문

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.

 

공감
0

댓글 3개

전체 756 |RSS
앱개발 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT