<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Menu`](Menu) › [`addSeparator`](Menu/addSeparator) ## Menu.addSeparator() method Adds a separator. Only works when menu is not shown yet. **Signature:** ```typescript addSeparator(): this; ``` **Returns:** `this`