| Markdent documentation | Contained in the Markdent distribution. |
Markdent::Event::StartTableCell - An event for the start of a table cell
version 0.17
This class represents the start of a table cell.
This class has the following attributes:
The alignment for the cell. This will be one of "left", "right", or "center".
The colspan for the cell. This will be a positive integer.
A boolean indicating whether the cell is a header cell. This will be true for all cells in the table's header, but can also be true for cells in the table's body.
This class does the Markdent::Role::Event role.
See Markdent for bug reporting details.
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2010 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Markdent documentation | Contained in the Markdent distribution. |
package Markdent::Event::StartTableCell; BEGIN { $Markdent::Event::StartTableCell::VERSION = '0.17'; } use strict; use warnings; use Markdent::Types qw( TableCellAlignment PosInt Bool ); use namespace::autoclean; use Moose; use MooseX::StrictConstructor; has alignment => ( is => 'ro', isa => TableCellAlignment, required => 1, ); has colspan => ( is => 'ro', isa => PosInt, required => 1, ); has is_header_cell => ( is => 'ro', isa => Bool, default => 0, ); with 'Markdent::Role::Event'; __PACKAGE__->meta()->make_immutable(); 1; # ABSTRACT: An event for the start of a table cell
__END__