Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonInjectOptions

Decorator options for JsonInject.

Hierarchy

Index

Properties

Optional contextGroups

contextGroups: string[]

Property that defines whether this decorator is part of a context group or multiple groups.

Optional enabled

enabled: boolean

Property that defines whether this decorator is active or not.

default

true

Optional useInput

useInput: boolean

Whether matching value from input (if any) is used for decorated property or not; if disabled (false), input value (if any) will be ignored; otherwise it will override injected value.

default

true

Optional value

value: string

Logical id of the value to inject; if not specified (or specified as empty String), will use id based on declared type of property.

Generated using TypeDoc