-
Notifications
You must be signed in to change notification settings - Fork 13
Fronted JS API
ole edited this page Oct 31, 2019
·
3 revisions
With version 1.5.0 of wp-ispconfig3 the plugin enables client side javascript for the frontend page.
Once the plugin is enabled a javascript object is available through ISPConfig
.
Check out the below API reference (Work in progess)
ISPConfig.checkDomain(domain, [selector])
check if a domain name is available either through whois or in ISPConfig only (dependent on the settings)
await ISPConfig.checkDomain('yourdomain.net')
# {text: "The domain is available", class: "ispconfig-msg-success", value: 1}