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.

 

|

댓글 3개

일좀 하고 오니 글이 많이 올라왔네요.
좀 나중에 쫓아갈께요.
저도 좀 바빠지고해서 좀 뜸해지고 있습니다. 현상유지가 힘들것 같아서..

티스토리에 조금씩 적어 볼 생각입니다.
그냥 여기 하세요... 힘내라 힘...~!
댓글을 작성하시려면 로그인이 필요합니다. 로그인

앱개발

+
분류 제목 글쓴이 날짜 조회
10년 전 조회 1,126
10년 전 조회 1,107
10년 전 조회 1,582
10년 전 조회 1,726
10년 전 조회 968
10년 전 조회 1,724
10년 전 조회 1,598
10년 전 조회 2,437
10년 전 조회 1,049
10년 전 조회 1,452
10년 전 조회 2,335
10년 전 조회 1,458
10년 전 조회 982
10년 전 조회 1,268
10년 전 조회 1,208
10년 전 조회 1,587
10년 전 조회 1,648
10년 전 조회 2,346
10년 전 조회 1,163
10년 전 조회 1,393
10년 전 조회 1,416
10년 전 조회 1,861
10년 전 조회 2,429
10년 전 조회 1,783
10년 전 조회 1,707
10년 전 조회 1,698
10년 전 조회 1,235
10년 전 조회 1,749
10년 전 조회 1,459
10년 전 조회 2,475
🐛 버그신고