API Reference FloUI v0.1.0-alpha
Modules
Usage in SnapFramework
Render this with children passed to it to automatically lay the children out in the grid. The children must be given width and height styles for it to work. Inspired by https://github.com/BWheatie/scenic_layout_o_matic
Controller for FloUI.Icon.Button
Module for calculating the scroll speed for Scenic.Scrollable
components.
This module contains helper functions for adding scrollable components to, or modifying scrollable components in a graph.
Using the Scenic.Scrollable
component will setup scrollbars and controls for you, and is recommended. However, in special cases it might be prefferable to directly use a Scenic.Scrollable.ScrollBars
or Scenic.Scrollable.ScrollBar
component.
Utility module for limiting certain operations along a certain direction only. A value can be connected to either horizontal or vertical directions.
Module for handling the drag controllability for Scenic.Scrollable
components.
This module handles key mappings and keypress events for Scenic.Scrollable
components.
Module for applying limits to a position.
The scroll bar component can be used to draw a scroll bar to the scene by adding it to the graph. The scroll bar is used internally by the Scenic.Scrollable
component and for most cases it is recommended to use the Scenic.Scrollable
component instead.
The scroll bars component can be used to add a horizontal, and a vertical scroll bar pair to the graph. This component is used internally by the Scenic.Scrollable
component, and for most cases it is recommended to use the Scenic.Scrollable
component instead.
Basic theme for sets for FloUI