Project

Profile

Help

Feature #4844

closed

Could 'resize' be added to the list of windowEvents?

Added by Norm Tovey-Walsh about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Low
Category:
IXSL extensions
Sprint/Milestone:
-
Start date:
2020-11-28
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
2
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

AFAICT, the window events that SaxonJS can respond to are httpabort, afterprint, beforeprint, beforeunload, hashchange, languagechange, message, offline, online, pagehide, pageshow, popstate, storage, unhandledrejection, and unload.

I have a page that dynamically computes part of its layout based on the window size. I'd like to be able to respond to the resize event.


Related issues

Related to SaxonJS - Bug #4728: Coverage for event handlingClosedNorm Tovey-Walsh2020-09-09

Actions
Actions #1

Updated by Debbie Lockett almost 4 years ago

  • Related to Bug #4728: Coverage for event handling added
Actions #2

Updated by Norm Tovey-Walsh almost 4 years ago

  • Status changed from New to Resolved

Adding 'resize' to the event list worked. Templates can no respond to window resize events.

Actions #3

Updated by Debbie Lockett almost 4 years ago

  • Category set to IXSL extensions
  • Assignee set to Norm Tovey-Walsh
  • Applies to JS Branch 2 added
  • Fix Committed on JS Branch 2 added
Actions #4

Updated by Debbie Lockett almost 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 2.1

Bug fix applied in the Saxon-JS 2.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page