linkballoonpanelview.js 669 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. import Template from '../../ui/template.js';
  6. import BalloonPanelView from '../../ui/balloonpanel/balloonpanelview.js';
  7. /**
  8. * The link balloon panel view class.
  9. *
  10. * See {@link link.ui.LinkBalloonPanel}.
  11. *
  12. * @memberOf link.ui
  13. * @extends ui.balloonPanel.BalloonPanelView
  14. */
  15. export default class LinkBalloonPanelView extends BalloonPanelView {
  16. /**
  17. * @inheritDoc
  18. */
  19. constructor( locale ) {
  20. super( locale );
  21. Template.extend( this.template, {
  22. attributes: {
  23. class: [
  24. 'ck-link-balloon-panel',
  25. ]
  26. }
  27. } );
  28. }
  29. }