Jasonette / Jasonette/JASONETTE-iOS

Support orientation changes with $resize event

Open
#142 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.2k
Forks
347
PR merge metrics
No merged PRs in 30d

Description

Similar to $load or $foreground, support a $resize that fires whenever orientation of the device changes from landscape to portrait or vice versa.

From @gliechtenstein: basically we would be implementing an additional system event for accelerometer.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing $load and $foreground system-event handling and the accelerometer or orientation integration. Trace how those events reach the application, then define $resize so it fires when orientation changes between landscape and portrait. Done means the new event is emitted for both orientation transitions without firing for unrelated changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.