atomic-field-condition
atomic-field-condition
The atomic-field-condition
component takes a list of conditions that, if fulfilled, apply the template in which it’s defined.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
A function that must return true on results for the result template to apply. Set programmatically before initialization, not via attribute. For example, the following targets a template and sets a condition to make it apply only to results whose |
|
|
|
|
|
Verifies whether the specified fields are defined. |
|
|
|
|
Verifies whether the specified fields are not defined. |
|
|
|
|
The field and values that define which result items the condition must be applied to. For example, a template with the following attribute only applies to result items whose |
|
|
|
|
The field and values that define which result items the condition must not be applied to. For example, a template with the following attribute only applies to result items whose |
|
|