Markdent::Event::StartHTMLTag - An event for the start of an inline HTML tag


Markdent documentation Contained in the Markdent distribution.

Index


Code Index:

NAME

Top

Markdent::Event::StartHTMLTag - An event for the start of an inline HTML tag

VERSION

Top

version 0.17

DESCRIPTION

Top

This class represents the start of an inline HTML tag.

ATTRIBUTES

Top

This class has the following attributes:

tag

The tag that is starting.

attributes

A hash reference of attributes as key/value pairs. An attribute without a value will have a value of undef in the hash reference.

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::StartHTMLTag;
BEGIN {
  $Markdent::Event::StartHTMLTag::VERSION = '0.17';
}

use strict;
use warnings;

use Markdent::Types qw( Str HashRef );

use namespace::autoclean;
use Moose;
use MooseX::StrictConstructor;

has tag => (
    is       => 'ro',
    isa      => Str,
    required => 1,
);

has attributes => (
    is      => 'ro',
    isa     => HashRef,
    default => sub { {} },
);

with 'Markdent::Role::Event';

__PACKAGE__->meta()->make_immutable();

1;

# ABSTRACT: An event for the start of an inline HTML tag




__END__