@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
57 lines (49 loc) • 1.36 kB
JavaScript
/*!
* OpenUI5
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.m.P13nSelectionItem.
sap.ui.define([
'./library', 'sap/ui/core/Item'
], function(library, Item) {
"use strict";
/**
* Constructor for a new P13nSelectionItem.
*
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
* @param {object} [mSettings] initial settings for the new control
* @class Type for <code>selectionItems</code> aggregation in <code>P13nSelectionPanel</code> control.
* @extends sap.ui.core.Item
* @version 1.146.0
* @constructor
* @author SAP SE
* @private
* @since 1.46.0
* @alias sap.m.P13nSelectionItem
* @deprecated As of version 1.124, replaced by the artifacts in {@link sap.m.p13n}.
*/
var P13nSelectionItem = Item.extend("sap.m.P13nSelectionItem", /** @lends sap.m.P13nSelectionItem.prototype */
{
metadata: {
library: "sap.m",
properties: {
/**
* Defines the unique table column key.
*/
columnKey: {
type: "string",
defaultValue: undefined
},
/**
* Defines whether the <code>P13nSelectionItem</code> is selected.
*/
selected: {
type: "boolean",
defaultValue: false
}
}
}
});
return P13nSelectionItem;
});