Markdent::Event::StartTableCell - An event for the start of a table cell


Markdent documentation Contained in the Markdent distribution.

Index


Code Index:

NAME

Top

Markdent::Event::StartTableCell - An event for the start of a table cell

VERSION

Top

version 0.17

DESCRIPTION

Top

This class represents the start of a table cell.

ATTRIBUTES

Top

This class has the following attributes:

alignment

The alignment for the cell. This will be one of "left", "right", or "center".

colspan

The colspan for the cell. This will be a positive integer.

is_header_cell

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.

ROLES

Top

This class does the Markdent::Role::Event role.

BUGS

Top

See Markdent for bug reporting details.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


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__