From ea869efe76963afb8f54b505fc7cac199e7a2248 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 13 Apr 2021 12:38:57 +0200 Subject: [PATCH] MaterialComponents: Doku --- SL/Presenter/MaterialComponents.pm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/SL/Presenter/MaterialComponents.pm b/SL/Presenter/MaterialComponents.pm index 6259fe446..7b2a737e3 100644 --- a/SL/Presenter/MaterialComponents.pm +++ b/SL/Presenter/MaterialComponents.pm @@ -12,6 +12,12 @@ use List::UtilsBy qw(partition_by); use Exporter qw(import); our @EXPORT_OK = qw( button_tag + input_tag + date_tag + submit_tag + icon + select_tag + checkbox_tag ); our %EXPORT_TAGS = (ALL => \@EXPORT_OK); @@ -318,6 +324,25 @@ SL::Presenter::MaterialComponents - MaterialCSS Component wrapper =head1 DESCRIPTION +This is a collection of components in the style of L +intended for materialzecss. They should be useable similarly to their original +versions but be well-behaved for materialize. + +They will also recognize some materialize conventions: + +=over 4 + +=item icon> + +Most elements can be decorated with an icon by supplying the C with the name. + +=item grid classes + +Grid classes like C or C can be given as keys with any truish value or +directly as classes. + +=back + =head1 BUGS Nothing here yet. -- 2.20.1