Class orion.compare.toggleableCompareView
A toggleableCompareView is an interchangeable comapre view helper that helps user to switch between the "side by side" and "unified" by only button click. The commandProvider property has to be provided in the option in order to render the toggle command.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/compare/compareView.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.compare.toggleableCompareView(startWith, options)
Constructs a toggleable compare view.
|
Class Detail
orion.compare.toggleableCompareView(startWith, options)
Constructs a toggleable compare view.
- Parameters:
- {String} startWith Optional, Default: "twoWay"
- the default view of the toggleable compare view. Can be either "twoWay" or "inline".
- {orion.compare.CompareViewOptions} options
- the compare view options.