MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / initBuiltinProps

Method initBuiltinProps

packages/designer/src/document/node/node.ts:411–418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409 */
410 @action
411 private initBuiltinProps() {
412 this.props.has(getConvertedExtraKey('hidden')) || this.props.add(false, getConvertedExtraKey('hidden'));
413 this.props.has(getConvertedExtraKey('title')) || this.props.add('', getConvertedExtraKey('title'));
414 this.props.has(getConvertedExtraKey('isLocked')) || this.props.add(false, getConvertedExtraKey('isLocked'));
415 this.props.has(getConvertedExtraKey('condition')) || this.props.add(true, getConvertedExtraKey('condition'));
416 this.props.has(getConvertedExtraKey('conditionGroup')) || this.props.add('', getConvertedExtraKey('conditionGroup'));
417 this.props.has(getConvertedExtraKey('loop')) || this.props.add(undefined, getConvertedExtraKey('loop'));
418 }
419
420 @action
421 private initProps(props: any): any {

Callers 1

constructorMethod · 0.95

Calls 3

getConvertedExtraKeyFunction · 0.90
hasMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected