// 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 _ScrollViewer = require('./ScrollViewer/_ScrollViewer'); var module: typeof _ScrollViewer = null; function getModule() { if (!module) { require(["./ScrollViewer/_ScrollViewer"], (m: typeof _ScrollViewer) => { module = m; }); } return module; } _Base.Namespace.define("WinJS.UI", { /// /// The input behavior for the ScrollViewer. /// ScrollMode: { get: () => { return getModule().ScrollMode; } }, /// /// /// Creates a new ScrollViewer. /// /// /// The DOM element that hosts the ScrollViewer. /// /// /// An object that contains one or more property/value pairs to apply to the new control. /// Each property of the options object corresponds to one of the control's properties or events. /// /// /// The new ScrollViewer. /// /// ScrollViewer: { get: () => { return getModule().ScrollViewer; } } });