Skip to content

Commit

Permalink
Add new options to README
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-lb committed Jul 30, 2020
1 parent 85cdf42 commit d1bcd41
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ OneSignal.initialize('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', options);
Where options is:

```js
safari_web_id?: string;
subdomainName?: string;
allowLocalhostAsSecureOrigin?: boolean;
requiresUserPrivacyConsent?: boolean;
Expand All @@ -51,6 +52,19 @@ notifyButton?: {
size?: 'small' | 'medium' | 'large';
position?: 'bottom-left' | 'bottom-right';
showCredit?: boolean;
prenotify?: boolean;
theme?: 'default' | 'inverse';
offset?: {
bottom?: string;
right?: string;
left?: string;
},
text?: {
[key: string]: string;
};
colors?: {
[key: string]: string;
};
}
```

Expand Down

0 comments on commit d1bcd41

Please sign in to comment.