phoneticker
Mobile icon

PhoneTicker

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 21 May 2024
 by 
5.0
 (2 ratings)
phoneticker

PhoneTicker

Documentation
1.0.0

Key Component: Ticker_WB Web Block

The core functionality of the ticker/timer feature is encapsulated within the Ticker_WB web block. This web block is responsible for managing all the ticker operations and must be integrated into the Layout web block to ensure it runs continuously across the application.

Integration Steps

  1. Add Ticker_WB to Layout:

    • Navigate to the Layout web block in your OutSystems project.
    • Drag and drop the Ticker_WB web block into the Layout web block. This integration ensures that the ticker functionality is available throughout the application.
  2. Event Configuration:

    • The Ticker_WB web block contains an event named Ticker. This event is crucial as it should contain the code necessary to execute the desired actions specified by the user or programmer.
    • Users can define custom actions within the Ticker event to perform specific tasks at each tick interval. This could include updating UI elements, triggering notifications, or any other time-based operations.

Examples

The application includes basic examples to demonstrate the potential of the ticker:

  1. Real-Time Clock: Displays the current time, updating every second.
  2. Countdown Timer: Allows users to set a countdown for a specified duration, triggering an alert or action when the countdown reaches zero.
  3. Periodic Popup Messages: Sends popup messages at regular intervals, based on user-defined tick intervals.

These examples illustrate the fundamental capabilities of the ticker, showcasing how it can be adapted for various use cases. By leveraging the Ticker_WB web block and customizing the Ticker event, users can unlock the full potential of the ticker feature to suit their specific requirements.

Performance Considerations: Users should exercise caution regarding the number of Ticker_WB instances added to the Layout web block, as having too many can degrade application performance. Additionally, the complexity and volume of the code placed in each Ticker event should be minimized. Complex code or large data volumes can also reduce the application's performance. Remember that this is a mobile application with resources limited by the device on which it runs.