diff --git a/index.html b/index.html index 24dd034..3532bc0 100644 --- a/index.html +++ b/index.html @@ -156,12 +156,10 @@

- Internal slots + Extensions to the `Document` interface

The following internal slots are added to the {{Document}} interface. - As it name implies, it will house the value of the current posture the - device is

@@ -180,43 +178,7 @@

[[\CurrentPosture]]

- - -
- The current posture. -
-

- [=Top-level traversables=] must have the following internal slots: -

- - - - - - - - - - - @@ -793,6 +755,46 @@

commands=] that allows users to control the reported device posture and simulate a real device.

+

+ To support the [=extension commands=] below and their integration with + [[[#algorithms]]], [=top-level traversables=] must have the following + internal slots: +

+

- Internal slot - - Description -
- [[\PostureOverride]] - - Posture to override posture defined by hardware. Used in - automation. Possible values: -
    -
  • "{{DevicePostureType/continuous}}" -
  • -
  • "{{DevicePostureType/folded}}" -
  • -
  • - null: Used when posture is defined by hardware. -
  • -
+ The device's current posture.
+ + + + + + + + + + + + +
+ Internal slot + + Description +
+ [[\PostureOverride]] + + Overrides the [=current posture=] provided by the hardware. + Possible values: +
    +
  • "{{DevicePostureType/continuous}}" +
  • +
  • "{{DevicePostureType/folded}}" +
  • +
  • + null: Not overriding. The hardware-provided + value will be used instead. +
  • +
+ These values are not exposed directly to script. +

Extension Commands