dlt.hideAddScreenButton
Introduction
Hide the "Add to Home Screen" button.
Parameters
Object object
Property | Type | Default | Required | Description |
---|---|---|---|---|
success | function | No | Callback function for a successful call. | |
fail | function | No | Callback function for a failed call. | |
complete | function | No | Callback function for the call's completion (executed for both successful and failed calls). |
Sample Code
dlt.hideAddScreenButton({
success() {
console.log('success');
},
});