Does anyone know how to use ionic4's ion-menu? can you give me an example?

look at the official website just a few lines of code, do not know how to use, https://beta.ionicframework.c., there is no god to provide ideas or it is best to give an example.

Aug.16,2021

< ion-header >
head of the original page
< / ion-header >
< ion-content >

content

< / ion-content >
< ion-menu side= "start" type= "push" menuId= "first" >
< ion-header >
head
< / ion-header >
< ion-content >

content

< / ion-content >
< / ion-menu >
< ion-nav id= "first" > < / ion-nav >

< H1 > from which side does side slide out of the page ion-menu,start left and end right; type is the type of animation that slides out; menuId specifies which ion-menu; < / H1 > The value after [content] in the < H1 > ion-menu tag must correspond to the id-sharpmenuContent of the ion-nav below. Type= "push" means that the main content area will also move when the sidebar is opened, and there are two attributes, overlay and reveal. When the type value is overlay, sliding will only open the sidebar, and the main content area will not move. When the type value is reveal, the sidebar is covered by the main content, and when you slide, move the main content area to display the sidebar. < / H1 >

refer to the original text: https://blog.csdn.net/sinat_3.

Menu