Skip to main content

Module behavior

Module behavior 

Source
Expand description

Keyboard and focus behaviour shared by several components. Pure decisions are plain functions with unit tests; the hooks around them only read and write signals.

Modules§

context
The context strip’s state, ported from upstream’s context-strip.ts.
date
Calendar arithmetic for the date picker, ported from upstream’s datepicker.ts.
roving
Roving focus: one tab stop for a set of items, arrows to move within it.
sort
Table sorting, ported from upstream’s table.ts.
splitter
Window splitter arithmetic, ported from upstream’s splitter.ts: clamping and rounding, what each key does, and how far a drag moves the bar.
url
Which addresses an embedded frame may load: a port of isSafeFrameUrl in upstream’s webview.ts.