office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
75 lines • 2.96 kB
JavaScript
/**
* Enum to describe how a particular column header behaves.... This enum is used to
* to specify the property IColumn:columnActionsMode.
* If IColumn:columnActionsMode is undefined, then it's equivalent to ColumnActionsMode.clickable
*/
export var ColumnActionsMode;
(function (ColumnActionsMode) {
/**
* Renders the column header as disabled.
*/
ColumnActionsMode[ColumnActionsMode["disabled"] = 0] = "disabled";
/**
* Renders the column header is clickable.
*/
ColumnActionsMode[ColumnActionsMode["clickable"] = 1] = "clickable";
/**
* Renders the column header ias clickable and displays the dropdown cheveron.
*/
ColumnActionsMode[ColumnActionsMode["hasDropdown"] = 2] = "hasDropdown";
})(ColumnActionsMode || (ColumnActionsMode = {}));
export var ConstrainMode;
(function (ConstrainMode) {
/** If specified, lets the content grow which allows the page to manage scrolling. */
ConstrainMode[ConstrainMode["unconstrained"] = 0] = "unconstrained";
/**
* If specified, constrains the list to the given layout space.
*/
ConstrainMode[ConstrainMode["horizontalConstrained"] = 1] = "horizontalConstrained";
})(ConstrainMode || (ConstrainMode = {}));
/**
* Enum to describe where the column has been dropped, after starting the drag
*/
export var ColumnDragEndLocation;
(function (ColumnDragEndLocation) {
/**
* Drag ended outside of current list
*/
ColumnDragEndLocation[ColumnDragEndLocation["outside"] = 0] = "outside";
/**
* Drag ended on current List
*/
ColumnDragEndLocation[ColumnDragEndLocation["surface"] = 1] = "surface";
/**
* Drag ended on Header
*/
ColumnDragEndLocation[ColumnDragEndLocation["header"] = 2] = "header";
})(ColumnDragEndLocation || (ColumnDragEndLocation = {}));
export var DetailsListLayoutMode;
(function (DetailsListLayoutMode) {
/**
* Lets the user resize columns and makes not attempt to fit them.
*/
DetailsListLayoutMode[DetailsListLayoutMode["fixedColumns"] = 0] = "fixedColumns";
/**
* Manages which columns are visible, tries to size them according to their min/max rules and drops
* off columns that can't fit and have isCollapsable set.
*/
DetailsListLayoutMode[DetailsListLayoutMode["justified"] = 1] = "justified";
})(DetailsListLayoutMode || (DetailsListLayoutMode = {}));
export var CheckboxVisibility;
(function (CheckboxVisibility) {
/**
* Visible on hover.
*/
CheckboxVisibility[CheckboxVisibility["onHover"] = 0] = "onHover";
/**
* Visible always.
*/
CheckboxVisibility[CheckboxVisibility["always"] = 1] = "always";
/**
* Hide checkboxes.
*/
CheckboxVisibility[CheckboxVisibility["hidden"] = 2] = "hidden";
})(CheckboxVisibility || (CheckboxVisibility = {}));
//# sourceMappingURL=DetailsList.types.js.map