mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
fix(document-viewer): make config properties optional (#1767)
- Before it forced defining all properties - Option arguments can be found ![here](https://github.com/sitewaerts/cordova-plugin-document-viewer#options)
This commit is contained in:
parent
2f3331e9ea
commit
5b914d7f15
@ -2,29 +2,29 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
export interface DocumentViewerOptions {
|
export interface DocumentViewerOptions {
|
||||||
title: string;
|
title?: string;
|
||||||
documentView: {
|
documentView?: {
|
||||||
closeLabel: string;
|
closeLabel: string;
|
||||||
};
|
};
|
||||||
navigationView: {
|
navigationView?: {
|
||||||
closeLabel: string;
|
closeLabel: string;
|
||||||
};
|
};
|
||||||
email: {
|
email?: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
print: {
|
print?: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
openWith: {
|
openWith?: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
bookmarks: {
|
bookmarks?: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
search: {
|
search?: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
};
|
};
|
||||||
autoClose: {
|
autoClose?: {
|
||||||
onPause: boolean;
|
onPause: boolean;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user