popcicle
Types
pub type PopcicleConfig {
PopcicleConfig(css: String, click_gap: Int, hover_gap: Int)
}
Constructors
-
PopcicleConfig(css: String, click_gap: Int, hover_gap: Int)
pub type PrefferedPosition {
TopLeft
TopCenter
TopRight
RightTop
RightCenter
RightBottom
BottomLeft
BottomCenter
BottomRight
LeftTop
LeftCenter
LeftBottom
}
Constructors
-
TopLeft
-
TopCenter
-
TopRight
-
RightTop
-
RightCenter
-
RightBottom
-
BottomLeft
-
BottomCenter
-
BottomRight
-
LeftTop
-
LeftCenter
-
LeftBottom
Functions
pub fn default_config() -> PopcicleConfig
pub fn initialize(
config: PopcicleConfig,
cb: fn() -> Element(a),
) -> Element(a)