refactor(overlays): [title] -> [header]

This commit is contained in:
Manu Mtz.-Almeida
2018-04-02 20:22:15 +02:00
parent acd411dd6c
commit a5e5403068
40 changed files with 290 additions and 227 deletions

View File

@ -71,8 +71,8 @@ For example, to change the `title` and `subTitle` of the overlay, pass it into `
```javascript
var customSelect = document.getElementById('customSelect');
customSelect.interfaceOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings'
header: 'Pizza Toppings',
subHeader: 'Select your toppings'
};
```

View File

@ -253,8 +253,8 @@
var customAlertSelect = document.getElementById('customAlertSelect');
var customAlertOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.00 per topping',
translucent: true
};
@ -262,16 +262,16 @@
var customPopoverSelect = document.getElementById('customPopoverSelect');
var customPopoverOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.50 charge for every topping'
};
customPopoverSelect.interfaceOptions = customPopoverOptions;
var customActionSheetSelect = document.getElementById('customActionSheetSelect');
var customActionSheetOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.50 charge for every topping'
};
customActionSheetSelect.interfaceOptions = customActionSheetOptions;

View File

@ -253,8 +253,8 @@
var customAlertSelect = document.getElementById('customAlertSelect');
var customAlertOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.00 per topping',
translucent: true
};
@ -262,16 +262,16 @@
var customPopoverSelect = document.getElementById('customPopoverSelect');
var customPopoverOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.50 charge for every topping'
};
customPopoverSelect.interfaceOptions = customAlertOptions;
var customActionSheetSelect = document.getElementById('customActionSheetSelect');
var customActionSheetOptions = {
title: 'Pizza Toppings',
subTitle: 'Select your toppings',
header: 'Pizza Toppings',
subHeader: 'Select your toppings',
message: '$1.50 charge for every topping'
};
customActionSheetSelect.interfaceOptions = customAlertOptions;