FloUI.Modal.ScrollLayout (FloUI v0.1.0-alpha) View Source

Usage in SnapFramework

Scrolling layout modal component. Great for displaying content within a modal that needs to scroll.

data is a tuple in the form of elixir {label, component, component_data, component_opts}

style opts width: :integer height: :integer frame_width: :integer frame_height: :integer content_height: :integer content_width: :integer show_check: :boolean show_close: :boolean

<%= graph font_size: 20 %>

<%= component FloUI.Modal.ScrollLayout,
    {"Label", FloUI.SelectionList, {@selection_list, @selected}, [id: :project_list]},
    id: :scroll_layout,
    width: 500,
    height: 520,
    frame_width: 480,
    frame_height: 500,
    content_width: 480,
    content_height: @content_height,
    show_check: true,
    show_close: true
%>

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Scenic.Scene.init/3.

Callback implementation for Scenic.Component.validate/1.

Link to this section Functions

Link to this function

add_to_graph(graph, data, opts \\ [])

View Source

Callback implementation for Scenic.Component.add_to_graph/3.

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_event(event, arg2, scene)

View Source

Callback implementation for Scenic.Scene.handle_event/3.

Callback implementation for Scenic.Scene.init/3.

Callback implementation for Scenic.Component.validate/1.