<commit_before><h1 class="doc-page-title">API reference</h1>


<h3 class="doc-page-title">Component's options</h3>
<table>
  <thead>
    <tr>
      <th>Option</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>afterOptionsComponent</td>
      <td><code>string/contextua-component</code></td>
      <td>The component rendered after the list of options. It is empty by default in both single and multiple selects</td>
    </tr>
    <tr>
      <td>allowClear</td>
      <td><code>boolean</code></td>
      <td>When truthy, single selects allow to nullify the selection</td>
    </tr>
    <tr>
      <td>ariaDescribedBy</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-describedby</code> on the component</td>
    </tr>
    <tr>
      <td>ariaInvalid</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-invalid</code> on the component</td>
    </tr>
    <tr>
      <td>ariaLabel</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-label</code> on the component</td>
    </tr>
    <tr>
      <td>ariaLabelledBy</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-labelledby</code> on the component</td>
    </tr>
    <tr>
      <td>beforeOptionsComponent</td>
      <td><code>string/contextua-component</code></td>
      <td>The component rendered before the list of options. In single selects defaults to the searchbox. In multiple select defaults to nothing</td>
    </tr>
    <tr>
      <td>buildSelection</td>
      <td><code>function</code></td>
      <td>The function to be invoked when the user selects an option. Should return either the `option` or `null`. This is used internally by `PowerSelectMultiple` to construct a new array of options, but can be used for unselecting a single option by returning `null` to the `onchange` event.</td>
    </tr>
    <tr>
      <td>calculatePosition</td>
      <td><code>Function</code></td>
      <td>
        A function that allows to customize the position and dimmension of the select's
        content. For more info check https://www.ember-basic-dropdown.com/docs/position
      </td>
    </tr>
    <tr>
      <td>class</td>
      <td><code>string</code></td>
      <td>
        The CSS class of the component. The component by default is tagless, so this won't take
        any effect unless the user specifies `tagName=div` too.
      </td>
    </tr>
    <tr><commit_msg>Fix typo in api-reference.hbs (#1158)<commit_after><h1 class="doc-page-title">API reference</h1>


<h3 class="doc-page-title">Component's options</h3>
<table>
  <thead>
    <tr>
      <th>Option</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>afterOptionsComponent</td>
      <td><code>string/contextua-component</code></td>
      <td>The component rendered after the list of options. It is empty by default in both single and multiple selects</td>
    </tr>
    <tr>
      <td>allowClear</td>
      <td><code>boolean</code></td>
      <td>When truthy, single selects allow to nullify the selection</td>
    </tr>
    <tr>
      <td>ariaDescribedBy</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-describedby</code> on the component</td>
    </tr>
    <tr>
      <td>ariaInvalid</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-invalid</code> on the component</td>
    </tr>
    <tr>
      <td>ariaLabel</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-label</code> on the component</td>
    </tr>
    <tr>
      <td>ariaLabelledBy</td>
      <td><code>string</code></td>
      <td>Sets <code>aria-labelledby</code> on the component</td>
    </tr>
    <tr>
      <td>beforeOptionsComponent</td>
      <td><code>string/contextua-component</code></td>
      <td>The component rendered before the list of options. In single selects defaults to the searchbox. In multiple select defaults to nothing</td>
    </tr>
    <tr>
      <td>buildSelection</td>
      <td><code>function</code></td>
      <td>The function to be invoked when the user selects an option. Should return either the `option` or `null`. This is used internally by `PowerSelectMultiple` to construct a new array of options, but can be used for unselecting a single option by returning `null` to the `onchange` event.</td>
    </tr>
    <tr>
      <td>calculatePosition</td>
      <td><code>Function</code></td>
      <td>
        A function that allows to customize the position and dimension of the select's
        content. For more info check https://www.ember-basic-dropdown.com/docs/position
      </td>
    </tr>
    <tr>
      <td>class</td>
      <td><code>string</code></td>
      <td>
        The CSS class of the component. The component by default is tagless, so this won't take
        any effect unless the user specifies `tagName=div` too.
      </td>
    </tr>
    <tr>
{'fraction_non_alphanumeric': 0.15209825997952917, 'fraction_numerical': 0.0024564994882292734, 'mean_word_length': 2.7383320581484316, 'pattern_counts': {'":': 0, '<': 253, '<?xml version=': 0, '>': 253, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '7149351', 'n_tokens_mistral': 1622, 'n_tokens_neox': 1587, 'n_words': 441}