MCPcopy Create free account
hub / github.com/microsoft/SandDance / getFocusStyle

Function getFocusStyle

docs/app/js/sanddance-app.js:28466–28476  ·  view source on GitHub ↗
(theme, insetOrOptions, position, highContrastStyle, borderColor, outlineColor, isFocusedOnly)

Source from the content-addressed store, hash-verified

28464var _utilities = require("@uifabric/utilities");
28465var _zIndexes = require("./zIndexes");
28466function getFocusStyle(theme, insetOrOptions, position, highContrastStyle, borderColor, outlineColor, isFocusedOnly) {
28467 if (typeof insetOrOptions === "number" || !insetOrOptions) return _getFocusStyleInternal(theme, {
28468 inset: insetOrOptions,
28469 position: position,
28470 highContrastStyle: highContrastStyle,
28471 borderColor: borderColor,
28472 outlineColor: outlineColor,
28473 isFocusedOnly: isFocusedOnly
28474 });
28475 else return _getFocusStyleInternal(theme, insetOrOptions);
28476}
28477function _getFocusStyleInternal(theme, options) {
28478 var _a, _b;
28479 if (options === void 0) options = {};

Callers

nothing calls this directly

Calls 1

_getFocusStyleInternalFunction · 0.85

Tested by

no test coverage detected