Merge "Allow for custom cancel label in dialog"
This commit is contained in:
@@ -58,7 +58,7 @@ limitations under the License.
|
||||
<header><content select=".header"></content></header>
|
||||
<main><content select=".main"></content></main>
|
||||
<footer>
|
||||
<gr-button link on-tap="_handleCancelTap">Cancel</gr-button>
|
||||
<gr-button link on-tap="_handleCancelTap">[[cancelLabel]]</gr-button>
|
||||
<gr-button link primary on-tap="_handleConfirmTap" disabled="[[disabled]]">
|
||||
[[confirmLabel]]
|
||||
</gr-button>
|
||||
|
||||
@@ -34,6 +34,10 @@
|
||||
type: String,
|
||||
value: 'Confirm',
|
||||
},
|
||||
cancelLabel: {
|
||||
type: String,
|
||||
value: 'Cancel',
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
|
||||
Reference in New Issue
Block a user