rakutentech/r10/1.0.0

NOTE: the latest version is 7.0.0

R10.Libu

██      ██ ██████  ██    ██
██      ██ ██   ██ ██    ██
██      ██ ██████  ██    ██
██      ██ ██   ██ ██    ██
███████ ██ ██████   ██████

Hi! I'm Libu, your new friend, half Link and half Button

I am a super-entity that will take care of all your hypertext necessity as I will let user to go wherever they want.

List (Attribute msg)
-> { type_ : Type msg
, label : Element msg
}
-> Element msg
type Type msg
= LiNewTab String
| LiInternal String (String -> msg)
| Li String
| Bu (Maybe msg)

LiNewTab => A link that open in a new tab.

LiInternal => A link that prevent the default behavior of the browser, to be used in SPA so that the browser doesn't refresh.

Li => Just a link.

Bu => Just a button.