Preparing search index...
The search index is not available
translate - v1.0.4
translate
TranslationProvider
TranslationProvider
Class TranslationProvider
A convenient wrapper over the rest of the providers
Index
Constructors
constructor
Properties
providers
Data
Methods
get
Provider
Constructors
constructor
new
TranslationProvider
(
providersData
?:
BaseProviderOpts
,
)
:
TranslationProvider
.
TranslationProvider
Parameters
providersData
:
BaseProviderOpts
= {}
Returns
TranslationProvider
.
TranslationProvider
Properties
providers
Data
providersData
:
BaseProviderOpts
Methods
get
Provider
getProvider
<
K
extends
TranslationService
>
(
service
:
K
,
)
:
{
msedge
:
typeof
MSEdgeTranslateProvider
;
yandexbrowser
:
typeof
YandexBrowserProvider
;
yandexcloud
:
typeof
YandexCloudProvider
;
yandextranslate
:
typeof
YandexTranslateProvider
;
}
[
K
]
[
"prototype"
]
Type Parameters
K
extends
TranslationService
Parameters
service
:
K
Returns
{
msedge
:
typeof
MSEdgeTranslateProvider
;
yandexbrowser
:
typeof
YandexBrowserProvider
;
yandexcloud
:
typeof
YandexCloudProvider
;
yandextranslate
:
typeof
YandexTranslateProvider
;
}
[
K
]
[
"prototype"
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
providers
Data
Methods
get
Provider
translate - v1.0.4
Loading...
A convenient wrapper over the rest of the providers