eb_CompanyDropdown Class
Company Dropdown class.
Item Index
Methods
Methods
eb_CompanyAdmin.domElement
(
-
domElement
Page DOM element.
Parameters:
-
domElementObjectcurrent DOM element.
eb_CompanyDropdown.getCompaniesData
()
Object
Public method to get companies data for admin.
Returns:
Object:
jQuery promise object.
eb_CompanyDropdown.model
(
-
options -
userContext
Company Dropdown model responsible for all company dropdown operations.
Parameters:
-
optionsAnyObject of company dropdown data.
-
ServicePathStringService URL.
-
SitePathStringSite URL.
-
templatePathStringHTML path.
-
domElementObjectCompany dropdown DOM element.
-
-
userContextObjecteb_UserContext.model instance.
eb_CompanyDropdown.render
(
String
-
options
The service will return company dropdown HTML.
Parameters:
-
optionsAnyArray of required data.
-
templatePathStringCompany Dropdown template URL.
-
Returns:
String:
Company Dropdown HTML template.
Properties
eb_CompanyDropdown.getCompanies
String
eb_CompanyDropdown.ServicePath
String
SOA path.
eb_CompanyDropdown.SitePath
String
Site path. It would be set from configuration file.
eb_CompanyDropdown.TemplatePath
String
Company Dropdown template path.
