mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(platform): removes extra word (typo)
This commit is contained in:
@ -427,7 +427,7 @@ export class Platform {
|
|||||||
* if this registered action has the highest priority.
|
* if this registered action has the highest priority.
|
||||||
* @param {number} priority Set the priority for this action. Only the highest priority will execute. Defaults to `0`.
|
* @param {number} priority Set the priority for this action. Only the highest priority will execute. Defaults to `0`.
|
||||||
* @returns {Function} A function that, when called, will unregister
|
* @returns {Function} A function that, when called, will unregister
|
||||||
* the its back button action.
|
* the back button action.
|
||||||
*/
|
*/
|
||||||
registerBackButtonAction(fn: Function, priority: number = 0): Function {
|
registerBackButtonAction(fn: Function, priority: number = 0): Function {
|
||||||
const action: BackButtonAction = {fn, priority};
|
const action: BackButtonAction = {fn, priority};
|
||||||
|
Reference in New Issue
Block a user