Seeking a functional web application in Tizen that can scroll a div using the rotating bezel mechanism.
I have dedicated several hours to getting it to work without success. I keep revisiting the same resources for the past three days:
View Link 1 View Link 2Despite my efforts, the solution seems elusive. While I managed to adjust text on another template app by rotating the bezel on my Gear S3, scrolling remains a challenge. It appears that my struggle lies in selecting the correct DOM elements or configuring event listeners for the scroller feature.
Referencing the provided links, here is an example code snippet that showcases my attempt:
// JavaScript code goes here
// CSS styles go here
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="Description here"/>
<title>Title Here</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/main.js"></script>
</head>
<body>
<div class="ui-page ui-page-active" id="main">
<header class="ui-header">
<h2 class="ui-title">Header Title</h2>
</header>
<div class="ui-content">
// Content goes here
</div>
<!--Popup-->
<div id="popup" class="ui-popup">
<div class="ui-popup-content">
// Popup content here
</div>
<div class="ui-popup-footer ui-bottom-button">
<a id="btnPopup-cancel" href="#" class="ui-btn" data-rel="back">Cancel</a>
</div>
</div>
</div>
</body>
</html>