| 1 | package Silki::Markdent::Event::ImageLink; | ||
| 2 | { | ||
| 3 | $Silki::Markdent::Event::ImageLink::VERSION = '0.29'; | ||
| 4 | } | ||
| 5 | |||
| 6 | use strict; | ||
| 7 | use warnings; | ||
| 8 | use namespace::autoclean; | ||
| 9 | |||
| 10 | use Markdent::Types qw( Str ); | ||
| 11 | |||
| 12 | use Moose; | ||
| 13 | use MooseX::StrictConstructor; | ||
| 14 | |||
| 15 | has link_text => ( | ||
| 16 | is => 'ro', | ||
| 17 | isa => Str, | ||
| 18 | required => 1, | ||
| 19 | ); | ||
| 20 | |||
| 21 | with 'Markdent::Role::Event'; | ||
| 22 | |||
| 23 | __PACKAGE__->meta()->make_immutable(); | ||
| 24 | |||
| 25 | 1; | ||
| 26 | |||
| 27 | # ABSTRACT: Represents a link to an image (to be embedded in the page) | ||
| 28 | |||
| 29 | __END__ |