try to implement fullscreen support for xCard Component ...
This commit is contained in:
@@ -38,6 +38,7 @@ import {
|
||||
XActionBarActionFiredModel,
|
||||
} from '../x-action-bar/x-action-bar.typings';
|
||||
import { XIconNames } from '../x-icon/x-icon.typings';
|
||||
import { XCardAction } from '../x-card/x-card.typings';
|
||||
|
||||
@Component({
|
||||
selector: 'x-chart',
|
||||
@@ -670,6 +671,12 @@ export class XChartComponent extends XChartContainerComponent {
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
this.cardActionProvider.next({ action: XCardAction.ToggleFullScreen });
|
||||
|
||||
//
|
||||
return;
|
||||
|
||||
//
|
||||
const chartWrapper = this.chartContainer.nativeElement;
|
||||
const doc = document as any;
|
||||
|
||||
Reference in New Issue
Block a user