Methods
(inner) addHint(type, url)
Add element to head with type
Parameters:
Name | Type | Description |
---|---|---|
type |
string | type of event (preload, prefetch, etc.) |
url |
string | address to load |
- Source:
(inner) changeSize(nameEl)
Change sizes of all name inputs
Parameters:
Name | Type | Description |
---|---|---|
nameEl |
Object | name input |
- Source:
(inner) changeTitle(costEl)
Set title attribute to cost input
Parameters:
Name | Type | Description |
---|---|---|
costEl |
Object | cost input |
- Source:
(inner) checkOnBuy(costEl)
Check if cost value is already > buy
Parameters:
Name | Type | Description |
---|---|---|
costEl |
Object | cost input |
- Source:
- See:
-
- firstCost
(inner) checksum(costEl)
Eval cost input value to calculate
Parameters:
Name | Type | Description |
---|---|---|
costEl |
Object | cost input |
- Source:
(inner) clearFirstRow()
Make values of first name and cost elements empty
- Source:
(inner) createBlock(nameValopt, costValopt)
Add row to list through copy first block
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
nameVal |
string |
<optional> |
name of position |
costVal |
string |
<optional> |
cost of position |
- Source:
(inner) createLink(nameEl)
Set href attribute to sibling kp-link
Parameters:
Name | Type | Description |
---|---|---|
nameEl |
Object | name input |
- Source:
(inner) disableRansom()
Disable ransom on page
- Source:
(inner) enableRansom()
Enable ransom on page
- Source:
(inner) removeRow(delBtn)
Remove row from list
Parameters:
Name | Type | Description |
---|---|---|
delBtn |
Object | block delete button |
- Source:
(inner) sortCandidates()
Sort name and cost inputs by cost value
- Source: