sw-call-dialpad
sw-call-dialpad
sw-call-dialpad
Context-aware DTMF dialpad — sends tones over the active call when
one exists, otherwise bubbles a sw-dial event for the parent to act on
(e.g. as a “start a call to these digits” signal).
Wraps the presentational <sw-ui-dialpad> primitive and connects it to
the active call. When callState.status === 'connected' (or the
explicit .call is connected), each digit press is forwarded to
call.sendDigits(). When no call is active, sw-dial bubbles up
unchanged so a parent can interpret it as “the user wants to start a
new call to these digits”.
Use show-call-button to render an inline “Call” button beneath the
keypad, and allow-text to permit free-text entry in the display
field — useful for vanity numbers, SIP URIs, or destination addresses.
Input precedence (most specific wins): .call > context.
Class: SwCallDialpad · Module: packages/web-components/src/components/sw-call-dialpad.ts
SwCallDialpad, sw-call-dialpadExplicit Call — when set, drives DTMF directly and bypasses context.
Whether to display the call button below the keypad.
Allow free-text input in the display field (e.g., SIP URIs, vanity letters).
Placeholder text shown in the digit display input.