// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
///
import _Base = require('../Core/_Base');
import _Pivot = require('./Pivot/_Pivot');
import _Item = require('./Pivot/_Item');
// We need PivotItem to be added to the public WinJS.UI namespace immediately.
// Force load the PivotItem module by accessing an undefined property on it.
// We do this to prevent:
// 1) the TypeScript compiler from optimizing it away since we don't use it
// anywhere else in this file.
// 2) triggering a premature unwrap of the lazily loaded PivotItem module
// which would happen if we accessed the _Item.PivotItem getter now.
_Item["touch"];
var module: typeof _Pivot = null;
_Base.Namespace.define("WinJS.UI", {
///
///
/// Tab control which displays a item of content.
///
///
///
///
///
/// PivotItem Content
/// ]]>
/// Raised when the item on screen has changed.
/// Raised when the item's animation starts.
/// Raised when the item's animation ends.
/// The entire Pivot control.
/// The title for the Pivot control.
///
///
///
Pivot: {
get: () => {
if (!module) {
require(["./Pivot/_Pivot"], (m: typeof _Pivot) => {
module = m;
});
}
return module.Pivot;
}
}
});