# Toggle Switch
## This component will render a Vinli style toggle switch.

## Data Bound Properties
* selection: The property you wish to toggle. Required.

## Actions
* selectionChanged: The action to propagate. Required.

## Configurable Options
* labelPosition: `inside || outside` Determines where the labels will be rendered. If set to `outside` the `toggleLabel` option will be disabled. Optional. Defaults to `inside`
* onText: Text for when toggle evaluates to `true`. Defaults to `on`
* offText: Text for when toggle evaluates to `false`. Defaults to `off`
* toggleLabel: Text for label when labelPosition is set to `inside`
* onColor: Color for the toggle `true` background. Optional. Defaults to `#333F47`
* helperPartial: String to partial for modal

### Usage
```handlebars
{{toggle-switch
  selection=toggleBoolean
  selectionChanged='toggle'
  labelPosition='outside'
  onText='On'
  offText='Off'
  toggleLabel='label'
}}

{{toggle-switch
  selection=toggleBoolean
  selectionChanged='toggle'
  labelPosition='inside'
  onText='On'
  offText='Off'
  toggleLabel='label'
}}

{{toggle-switch
  selection=toggleBoolean
  selectionChanged='toggle'
  labelPosition='inside'
  onText='On'
  offText='Off'
  toggleLabel='label'
  helperPartial='partials/be-somebody'
}}
```
