Skip to content

Page Template

Application page shell: toolbar (title, primary/secondary actions), main content slots, optional details panel (drawer mode).

HTML tag: c-ed3bf938c6331494cbfcd7679ed8ae97c

  • full application page with toolbar and body
  • list/detail page with resizable details pane
  • app shell with primary and secondary actions
PropTypeDefaultDescription
layoutstringtoolbar-top
primary_actionsarray
secondary_actionsarray
titlestring
details_openboolean
details_modestringdrawer
densitystringcomfortable
hidden_actionsarray
context_eventstringcontext:update
footer_stickybooleantrue
title_positionstringtoolbar
subtitlestring
details_positionstringright
details_resizablebooleantrue
details_resize_maxnumber960
details_titlestring
details_widthstring
details_heightstring
details_actionsarray
details_actions_placementstringfooter
details_backdrop_closebooleantrue
contextobject
context_modestringuncontrolled
context_merge_strategystringshallow
resolved_contextobject
fit_to_parentboolean
disable_backgroundbooleanfalse
  • Use layout (e.g. toolbar-top) and slots for page regions.
  • primary_actions / secondary_actions arrays like ab-actions; listen for action event with detail.id.
  • details_open + details_mode for side details; details:opened|closed|resized events.
  • context / page:context-changed for shared page state.
EventDetail
actionid: string, meta: object, context: object
details:closed
details:opened
details:resizedwidth: string, height: string
page:context-changedvalue: object
SignatureDescription
refreshLayout(force: any)
getContext()
setContext(partial: object)

Do not use for a single modal (ab-dialog). Do not use for dashboard KPI layout (ab-dashboard).

<c-ed3bf938c6331494cbfcd7679ed8ae97c .title=${'Orders'} .primary_actions=${actions} .details_open=${showDetail} @action=${onAction}>...</c-ed3bf938c6331494cbfcd7679ed8ae97c>