Skip to content

v0.2.6

Choose a tag to compare

@wmantly wmantly released this 28 Jul 21:10
· 23 commits to main since this release
ccd2766

Added

  • app.modal standardized entity-modal support: optional tabs (nav-tabs + tab-content, matching the pattern already used for proxy's host modal), optional footer (metaHtml left / buttonsHtml right — the footer element is entirely absent when omitted, and any stale footer from a previous open() call is removed so it can't leak into a later bare caller), and optional url (pushes a linkable path on open, restores the prior path on close, and closes the modal on browser Back/Forward via popstate instead of re-pushing history). All three are opt-in — existing {title, bodyHtml, size, onShown} callers are unaffected.
  • app.modal.showTab(id), app.modal.on(event, selector, handler) (a delegated binding that survives open()'s per-call DOM rebuild), app.modal.deepLinkSlug(basePath), app.modal.formatAudit(record, {formatDate}), and app.modal.footerButtons({onSave, saveLabel, closeLabel, extraHtml}).