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

Function groupEncode

docs/tests/v2/es6/js/sanddance.js:136302–136322  ·  view source on GitHub ↗
(_, userEncode)

Source from the content-addressed store, hash-verified

136300}
136301
136302function groupEncode(_, userEncode) {
136303 var encode = {
136304 enter: {},
136305 update: {}
136306 };
136307 (0, _encodeUtil.addEncoders)(encode, {
136308 orient: _('orient'),
136309 anchor: _('anchor'),
136310 align: {
136311 signal: _guideUtil.alignExpr
136312 },
136313 angle: {
136314 signal: angleExpr
136315 },
136316 limit: _('limit'),
136317 frame: _('frame'),
136318 offset: _('offset') || 0,
136319 padding: _('subtitlePadding')
136320 });
136321 return (0, _encodeUtil.extendEncode)(encode, userEncode, _constants.Skip);
136322}
136323
136324function buildTitle(spec, _, userEncode, dataRef) {
136325 var zero = {

Callers 1

_defaultFunction · 0.70

Calls 1

_Function · 0.70

Tested by

no test coverage detected