UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 1.96 kB
define(["require", "exports", "react", "office-ui-fabric-react/lib/Button", "office-ui-fabric-react/lib/FocusZone", "office-ui-fabric-react/lib/TextField", "./FocusZone.Tabbable.Example.scss"], function (require, exports, React, Button_1, FocusZone_1, TextField_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FocusZoneTabbableExample = function () { return (React.createElement("div", { className: 'ms-FocusZoneTabbableExample' }, React.createElement("div", { className: 'ms-Row' }, React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal, handleTabKey: 1 /* all */, isCircularNavigation: true }, React.createElement("span", null, "Circular Tabbable FocusZone: "), React.createElement(Button_1.DefaultButton, null, "Button 1"), React.createElement(Button_1.DefaultButton, null, "Button 2"), React.createElement(TextField_1.TextField, { value: 'FocusZone TextField', className: 'ms-FocusZoneTabbableExample-textField' }), React.createElement(Button_1.DefaultButton, null, "Button 3"))), React.createElement("div", { className: 'ms-Row' }, React.createElement(FocusZone_1.FocusZone, { direction: FocusZone_1.FocusZoneDirection.horizontal, handleTabKey: 2 /* inputOnly */, isCircularNavigation: false }, React.createElement("span", null, "Input Only FocusZone: "), React.createElement(Button_1.DefaultButton, null, "Button 1"), React.createElement(Button_1.DefaultButton, null, "Button 2"), React.createElement(TextField_1.TextField, { value: 'FocusZone TextField', className: 'ms-FocusZoneTabbableExample-textField' }), React.createElement(Button_1.DefaultButton, null, "Button 3"))))); }; }); //# sourceMappingURL=FocusZone.Tabbable.Example.js.map