Home Reference Source Repository
public class | source

ComponentSignUpVendor

Extends:

react~Component → ComponentSignUpVendor

Method Summary

Public Methods
public

Add category to list

public

Add owner and position to list

public

Add specialty to list

public

Handle file selecting

public

Remove category from list

public

Remove onwer and position from list

public

Remove specialty from list

public

render(): html

Loads the signup page for vendor.

public

Sends information to signUpVendor(user)

public

signUpVendor(user: user)

Sends information about vendor and adds it to vendor signup list

Public Methods

public addElement() source

Add category to list

public addElementowner() source

Add owner and position to list

public addElementspec() source

Add specialty to list

public handleFileSelect(evt: *) source

Handle file selecting

Params:

NameTypeAttributeDescription
evt *

public removeElement() source

Remove category from list

public removeElementowner() source

Remove onwer and position from list

public removeElementspec() source

Remove specialty from list

public render(): html source

Loads the signup page for vendor.

Return:

html

displays sign up page for vendor.

public requestSubmit(): Object source

Sends information to signUpVendor(user)

Return:

Object

user - sends information about vendor.

public signUpVendor(user: user) source

Sends information about vendor and adds it to vendor signup list

Params:

NameTypeAttributeDescription
user user

object which contains information about the vendor.