<commit_before>---
layout: "docs_api"
version: "nightly"
versionHref: "/docs/nightly"
path: "api/directive/menuClose"

title: "menu-close"
header_sub_title: "Directive in module ionic"
doc: "menuClose"
docType: "directive"
---

<div class="improve-docs">
  <a href='http://github.com/driftyco/ionic/edit/master/js/ext/angular/src/directive/ionicSideMenu.js#L416'>
    Improve this doc
  </a>
</div>




<h1 class="api-title">

  menu-close



</h1>





Closes a side menu which is currently opened.








  
<h2 id="usage">Usage</h2>
  
Below is an example of a link within a side menu. Tapping this link would
automatically close the currently opened menu

```html
<a nav-clear menu-close href="#/home" class="item">Home</a>
```
  
  

  





<commit_msg>docs: update for nightly<commit_after>---
layout: "docs_api"
version: "nightly"
versionHref: "/docs/nightly"
path: "api/directive/menuClose"

title: "menu-close"
header_sub_title: "Directive in module ionic"
doc: "menuClose"
docType: "directive"
---

<div class="improve-docs">
  <a href='http://github.com/driftyco/ionic/edit/master/js/ext/angular/src/directive/ionicSideMenu.js#L417'>
    Improve this doc
  </a>
</div>




<h1 class="api-title">

  menu-close



</h1>





Closes a side menu which is currently opened.








  
<h2 id="usage">Usage</h2>
  
Below is an example of a link within a side menu. Tapping this link would
automatically close the currently opened menu

```html
<a nav-clear menu-close href="#/home" class="item">Home</a>
```
  
  

  






{'fraction_non_alphanumeric': 0.14696276943174397, 'fraction_numerical': 0.009144350097975179, 'mean_word_length': 3.586826347305389, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3128774', 'n_tokens_mistral': 608, 'n_tokens_neox': 543, 'n_words': 143}