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
| Name | Type | Description |
|---|---|---|
| pageUrl | String | Page URL. Can be either an HTML document or an <ons-template>. |
| options | Object | Parameter object. |
| options.closeMenu | Boolean | If true the menu will be closed after the menu page has been set. |
| options.callback | Function | This function will be executed after the menu page has been set. |
openMenu([options])
Slide the above layer to reveal the layer behind.
Parameters
| Name | Type | Description |
|---|---|---|
| options | Object | Parameter object. |
| options.callback | Function | This function will be called after the menu has been opened. |
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 3개
좀 나중에 쫓아갈께요.
티스토리에 조금씩 적어 볼 생각입니다.