LiveViewNative (live_view_native v0.2.0)

A module providing supporting functions for LiveView Native.

Summary

Functions

Returns an environment struct for a LiveView Native platform given its platform_id or :error if not found.

Returns an environment struct for a LiveView Native platform given its platform_id or raises if not found.

Returns a list of environment structs for all LiveView Native platforms.

Functions

Link to this function

platform(platform_id)

Returns an environment struct for a LiveView Native platform given its platform_id or :error if not found.

Used to introspect platforms at compile-time or runtime.

Link to this function

platform!(platform_id)

Returns an environment struct for a LiveView Native platform given its platform_id or raises if not found.

Same as platform/1 but raises RuntimeError instead of returning :error if no platform exists for the given platform_id

Returns a list of environment structs for all LiveView Native platforms.