Funicular module of PicoRuby

Singleton methods

configure_debug

Funicular.configure_debug() ?{ (self) -> void } -> void

configure_forms

Funicular.configure_forms() ?{ (Hash[Symbol, String]) -> void } -> void

env

Funicular.env() -> EnvironmentInquirer

env=

Funicular.env=(EnvironmentInquirer | String environment) -> EnvironmentInquirer?

export_debug_config

Funicular.export_debug_config() -> void

first_element_child

Funicular.first_element_child(JS::Element container_element) -> JS::Element?

form_builder_config

Funicular.form_builder_config() -> Hash[Symbol, String]?

form_builder_config=

Funicular.form_builder_config=(Hash[Symbol, String] config) -> Hash[Symbol, String]

has_ssr_state?

Funicular.has_ssr_state?() -> bool

load_schemas

Funicular.load_schemas(Hash[singleton(Model), String] models) ?{ () -> void } -> void

router

Funicular.router() -> Router?

server=

Funicular.server=(untyped value) -> bool

server?

Funicular.server?() -> bool

start

Funicular.start(?singleton(Component)? component_class, ?container: String | JS::Element, ?props: Hash[Symbol, untyped], ?hydrate: bool) ?{ (Router router) -> void } -> (Component | Router | nil)

version

Funicular.version() -> String

window_state

Funicular.window_state() -> Hash[String, untyped]

Type aliases

route_constraints_t

Hash[Symbol, Regexp]

route_definition_t

{ method: Symbol, path: String, component: singleton(Component), name: String?, pattern_segments: Array[String], constraints: route_constraints_t }
Tags: