| 123456789101112131415161718192021222324252627282930 |
- ///<reference path="../../../headers/common.d.ts" />
- import {PanelDirective, PanelCtrl} from '../../../features/panel/panel';
- class TestPanelCtrl extends PanelCtrl {
- constructor($scope) {
- super($scope);
- }
- }
- class TestPanel extends PanelDirective {
- templateUrl = `app/plugins/panel/test/module.html`;
- controller = TestPanelCtrl;
- constructor($http) {
- super();
- console.log('panel ctor: ', $http);
- }
- link(scope) {
- console.log('panel link: ', scope.ctrl.panel.id);
- }
- }
- export {
- TestPanelCtrl,
- // testPanelDirective as panel,
- TestPanel as Panel,
- }
|