import {ShiftableComposedControl} from 'guide4you/src/controls/ShiftableComposedControl.js'ShiftableComposedControl
Extends:
Direct Subclass:
This class displays only a given amount of the containing controls and arrows to switch through these
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: ShiftableComposedControlOptions) |
|
Member Summary
| Private Members | ||
| private |
$moveLeftButton_: jQuery |
|
| private |
$moveRightButton_: jQuery |
|
| private |
|
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
addControl(control: Control, options: g4uControlOptions) |
|
| public |
shiftControls(shift: *) Shift the controls the given amount of steps to the left. |
|
Inherited Summary
| From class ComposedControl | ||
| public |
minHeight_: * |
|
| public |
scrolled_: * |
|
| public |
squeeze_: * |
|
| private |
$container_: jQuery |
|
| private |
|
|
| private |
|
|
| private |
|
|
| private |
|
|
| public |
addControl(control: Control, options: Object) |
|
| public |
used by positioning |
|
| public |
|
|
| public |
get$Container(): jQuery |
|
| public |
getControls(): Control[] |
|
| public |
isSqueezable(dimension: string): boolean Returns true if the control is squeezable in the given dimension. |
|
| public |
Removes the squeeze. |
|
| public |
removeControl(control: Control, propagate: boolean) |
|
| public |
|
|
| public |
Squeezes the control in the given dimension by the provided value. |
|
| public |
|
|
| private |
addClasses_($item: jQuery): jQuery This method adds some helping css classes to the items |
|
Public Constructors
public constructor(options: ShiftableComposedControlOptions) source
Override:
ComposedControl#constructorParams:
| Name | Type | Attribute | Description |
| options | ShiftableComposedControlOptions |
Public Methods
public addControl(control: Control, options: g4uControlOptions) source
Override:
ComposedControl#addControlParams:
| Name | Type | Attribute | Description |
| control | Control | ||
| options | g4uControlOptions |
public shiftControls(shift: *) source
Shift the controls the given amount of steps to the left. if the value is negative, the controls are shifted to the right
Params:
| Name | Type | Attribute | Description |
| shift | * |
