package ocp_reveal

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type transition =
  1. | None
  2. | Fade
  3. | Slide
  4. | Convex
  5. | Concave
  6. | Zoom
type speed =
  1. | Default
  2. | Fast
  3. | Slow
type color =
  1. | Black
  2. | White
  3. | Blue
  4. | Red
  5. | Green
  6. | Yellow
  7. | Color of string
type theme =
  1. | Black_theme
  2. | White_theme
  3. | Night_theme
  4. | Blood_theme
  5. | Custom of string
type path = string
type slide = {
  1. title : Omd.element;
  2. content : string;
  3. transition : transition;
  4. video : path option;
  5. text_color : color;
  6. background_color : color option;
  7. background_img : path option;
  8. background_video : path option;
  9. background_embed : path option;
  10. theme : theme;
}
type slide_t =
  1. | Single of Omd.t * slide
  2. | Multiple of slides_t
  3. | File of Omd.t * slide
and slides_t = slide_t list
val title1 : string -> Omd.element
val title2 : string -> Omd.element
val title3 : string -> Omd.element
val title4 : string -> Omd.element
val title5 : string -> Omd.element
val title6 : string -> Omd.element
val text : string -> Omd.element
val bold : string -> Omd.element
val emph : string -> Omd.element
val paragraph : Omd.t -> Omd.element
val itemize : string list -> Omd.element
val enumerate : string list -> Omd.element
val string_of_transition : transition -> string
val string_of_speed : speed -> string
val string_of_color : color -> string
val default : slide

Predefine slide named by effect transition.

val slide : slide
val convex : slide
val concave : slide
val fade : slide
val zoom : slide
val pause : string -> string
val slides_ref : slide_t list ref
val frame : slide -> slide_t

Create a new frame.

val from_file : path -> Omd.t
OCaml

Innovation. Community. Security.