마

Onsen에서의 setMenuPage

· 2015-09-06 (일) 08:13:13 · 1381 · 3

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개

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

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

앱개발

758건
+
분류 제목 글쓴이 날짜 조회
15-10-01 조회 1,706
15-10-01 조회 1,980
15-10-01 조회 1,493
15-09-26 조회 1,331
15-09-24 조회 2,094
15-09-23 조회 1,186
15-09-23 조회 1,773
15-09-23 조회 1,126
15-09-23 조회 1,309
15-09-23 조회 1,300
15-09-23 조회 1,785
15-09-23 조회 1,914
15-09-23 조회 1,142
15-09-22 조회 1,887
15-09-22 조회 1,789
15-09-21 조회 2,627
15-09-18 조회 1,214
15-09-18 조회 1,662
15-09-12 조회 2,537
15-09-11 조회 1,642
15-09-11 조회 1,173
15-09-10 조회 1,462
15-09-06 조회 1,382
15-09-06 조회 1,770
15-09-06 조회 1,833
15-09-05 조회 2,532
15-09-05 조회 1,337
15-09-04 조회 1,579
15-09-02 조회 1,607
15-09-02 조회 2,041