aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/View/Site/Widget/Layout.pm
blob: d33fa313acd269c5eb2a9f412d3dd743b0bf9c55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ComponentUI::View::Site::Widget::Layout;

use Reaction::UI::WidgetClass;

class Layout which {

  implements fragment main_content {
    if (my $inner = $_{viewport}->inner) {
      arg '_' => $inner;
      render 'viewport';
    }
  };

};

1;