Skip to main content

choreography

Selectors

The DOM hooks the choreography binds to: section ids, and the data-attribute values each section's elements carry.

From js/choreography/config/contracts/selectors/selectors.js (sidecar). JS finds elements through these, never through CSS classes.

Section ids

SELECTORS maps a registry key to the rendered DOM id. They differ: the hero section renders as #manifesto.

KeyDOM id
organizationsorganizations
heromanifesto
processprocess
awardsawards
workwork
contactcontact
smoothWrapperpage-main
smoothContentpage-main-content
overlayViewoverlay-view
videobackground

Element hooks

AWARD_SELECTORS

Elements carry data-awards-el="<value>".

KeyValue
contextcontext
headerheader
titletitle
subheadingsubheading
listlist
organizationCardorganization-card

BADGE_SELECTORS

Elements carry data-badge-el="<value>".

KeyValue
toggletoggle
dialogdialog
closeclose

BUILD_INFO_SELECTORS

Elements carry data-buildinfo-el="<value>".

KeyValue
rootroot
toggletoggle
listlist
closeclose
capcap
openAttributedata-open

HERO_SELECTORS

Elements carry data-hero-el="<value>".

KeyValue
headerheader
titleheading
bandband
bandImageband-image
contextcontext
missionStatementmission-statement
statementSvgstatement-svg

PROCESS_SELECTORS

Elements carry data-process-el="<value>".

No named elements yet.

PROJECT_HEADER_SELECTORS

KeyValue
header[data-project-header]
image[data-project-header-image]

VIDEO_GEL_ID

KeyValue
0g
1e
2l
3_
4v
5i
6d
7e
8o

VIDEO_SELECTORS

KeyValue
mediavideo
grid[data-video-grid]