Skip to content

Commit

Permalink
Added comment in Talk docs about custom footer fields
Browse files Browse the repository at this point in the history
  • Loading branch information
run4flat committed Dec 18, 2013
1 parent efcaf93 commit 813701f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Prima/Talk.pm
Expand Up @@ -930,6 +930,10 @@ For example:
# Use the new footer field
$talk->footer(undef, '%a', undef);
To expand on this, you could create a new field that delegates to slides for
content. This provides one of multiple methods for having per-slide
customization in your footer.
=cut

sub footer {
Expand Down Expand Up @@ -974,7 +978,7 @@ sub process_footer_text {
$to_return .= $self->{"footer_field_$char"}->($self);
}
else {
carp("No method for interpreting $element");
carp("No method for interpreting footer $element");
$to_return .= $element;
}
}
Expand Down

0 comments on commit 813701f

Please sign in to comment.