MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / converter

Function converter

apps/automated/src/ui/view/view-tests-common.ts:272–279  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

270 name: 'customShortHand',
271 cssName: 'custom-short-hand',
272 converter(value: string): [CssProperty<any, any>, any][] {
273 const values = value.split(',');
274
275 return [
276 [customCssAProperty, values[0]],
277 [customCssBProperty, values[1]],
278 ];
279 },
280 getter(this: Style): string {
281 return `${(<any>this).customCssA},${(<any>this).customCssB}`;
282 },

Callers 3

setLocalValueMethod · 0.85
setCssValueMethod · 0.85
setMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected