ConditionalRule Interface
Native conditional rule payload. Additional validated fields depend on the rule type.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| formatting | The formatting value of ConditionalRule. |
| id | The id value of ConditionalRule. |
| ranges | The ranges value of ConditionalRule. |
| type | The type value of ConditionalRule. |
Examples
Pass the ConditionalRule value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { ConditionalRule } from '@txtextcontrol/tx-sheet-control';
function inspectConditionalRuleId(conditionalRule: ConditionalRule) {
const value = conditionalRule['id'];
console.log('ConditionalRule.id', value);
}