Interfaces
FlowTreatment
Properties
Methods
mount()?
optional mount(context: FlowTreatmentContext): FlowTreatmentInstance;
Parameters
| Parameter | Type |
|---|---|
context | FlowTreatmentContext |
Returns
FlowTreatmentContext
Properties
Methods
history()
history(): readonly FlowTreatmentRecord[];
Last five observed paints, pruned as targets disappear or are hidden.
Returns
readonly FlowTreatmentRecord[]
FlowTreatmentInstance
Methods
dispose()
dispose(): void;
Returns
void
update()
update(): void;
Returns
void
FlowTreatmentManifest
Properties
| Property | Type |
|---|---|
treatment? | string |
treatments | FlowTreatmentMetadata & { url: string; }[] |
FlowTreatmentMetadata
Browser-side extension contract. Implementations run as application code.
Properties
FlowTreatmentRecord
Properties
| Property | Type |
|---|---|
elements | readonly HTMLElement[] |
label | string |
listenerId | string |
sequence | number |
target | string |
FlowTreatmentState
Properties
| Property | Type |
|---|---|
choices | readonly FlowTreatmentMetadata[] |
error | string |
loading | string |
retry | string |
selected | string |