Dancer-Plugin-Device-Layout

 view release on metacpan or  search on metacpan

lib/Dancer/Plugin/Device/Layout.pm  view on Meta::CPAN

        mobile_layout:    mobile
        tablet_layout:    tablet
        no_tablet:        0
        tablet_as_mobile: 0
        no_mobile:        0

=over

=item normal_layout: LAYOUT

The normal layout when user agent is nighter a tablet nor a mobile device.
Default is 'main'.

=item mobile_layout: LAYOUT

The mobile layout when user agent is a mobile but not a tablet device.
Default is 'mobile'.

=item tablet_layout: LAYOUT

The tablet layout when user agent is a tablet device. Default is 'tablet'.

=item no_tablet: 1|0

Disable tablet detection. Default is '0'.

=item tablet_as_mobile: 1|0

Treat tablet as mobile devices. Default is C<undef>.

=item no_mobile: 1|0

Disable mobile detection. Default is '0'.

=back

=head1 DEPENDENCIES

=over

=item L<strict>

=item L<warnings>

=item L<utf8>

=item L<version> 0.77 or higher

=item L<Dancer> 1.3111 or higher (B<not> 2.x)

=item L<Dancer::Plugin>

=item L<HTTP::BrowserDetect> 1.51 or higher

=back

=head1 INCOMPATIBILITIES

Currently there are no incompatibilities known.

=head1 BUGS AND LIMITATIONS

Currently there are no bugs or limitations known. Please report bugs at
L<GitHub Issues|https://github.com/burnersk/Dancer-Plugin-Device-Layout/issues>.

=head1 AUTHOR

=over

=item

BURNERSK L<burnersk@cpan.org|mailto:burnersk@cpan.org>

=back

=head1 LICENSE

Dancer::Plugin::Device::Layout by BURNERSK is licensed under a
L<Artistic License 2.0 License|http://opensource.org/licenses/artistic-license-2.0>.

=head1 COPYRIGHT

Copyright © 2013, BURNERSK. Some rights reserved.

=cut



( run in 2.001 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )