Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 365 Bytes
import { Component, Attribute, SkipSelf } from "../angular-decorators";
import { MyTabs } from "./myTabs";
import template from "../templates/my-pane.html";
@Component("myPane", { template, transclude: true })
export class MyPane
{
@SkipSelf(MyTabs) tabsCtrl;
@Attribute() title;
$onInit()
{
this.tabsCtrl.addPane(this);
console.log(this);
};
}