mendraw/mendix/file

Provides typed access to Mendix file and image values.

Types

A typed FileValue value used by the file capability.

pub type FileValue

A typed WebImage value used by the file capability.

pub type WebImage

Values

pub fn alt_text(img img: WebImage) -> option.Option(String)

Returns the image alternative text when available.

pub fn image_name(img img: WebImage) -> option.Option(String)

Returns the image file name when available.

pub fn image_uri(img img: WebImage) -> String

Returns the image URI.

pub fn name(f f: FileValue) -> option.Option(String)

Returns the file name when available.

pub fn uri(f f: FileValue) -> String

Returns the file URI.

Search Document