• Module returns method that is used to determine the browser

    Example

    console.log(Jodit.modules.Helpers.browser('mse'));
    console.log(Jodit.modules.Helpers.browser('chrome'));
    console.log($Jodit.modules.Helpers.browser('opera'));
    console.log(Jodit.modules.Helpers.browser('firefox'));
    console.log(Jodit.modules.Helpers.browser('mse') && Jodit.modules.Helpers.browser('version') > 10);

    Parameters

    • browser: string

    Returns string | boolean

Jodit PRO

If you like Jodit - try Jodit PRO