Skip to content

Commit

Permalink
fix(document-viewer): make config properties optional (#1767)
Browse files Browse the repository at this point in the history
- Before it forced defining all properties
- Option arguments can be found ![here](https://github.com/sitewaerts/cordova-plugin-document-viewer#options)
  • Loading branch information
TanayParikh authored and ihadeed committed Jul 5, 2017
1 parent 2f3331e commit 5b914d7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/@ionic-native/plugins/document-viewer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';

export interface DocumentViewerOptions {
title: string;
documentView: {
title?: string;
documentView?: {
closeLabel: string;
};
navigationView: {
navigationView?: {
closeLabel: string;
};
email: {
email?: {
enabled: boolean;
};
print: {
print?: {
enabled: boolean;
};
openWith: {
openWith?: {
enabled: boolean;
};
bookmarks: {
bookmarks?: {
enabled: boolean;
};
search: {
search?: {
enabled: boolean;
};
autoClose: {
autoClose?: {
onPause: boolean;
};
}
Expand Down

0 comments on commit 5b914d7

Please sign in to comment.