-
Notifications
You must be signed in to change notification settings - Fork 1
Path
cybai edited this page May 13, 2017
·
2 revisions
- When using the
path
component, it will executeshown
method and theupdateStatus
method at the first time. Then, it will send a request to/quickstatus
to get the current status.
Attribute Name | Default Value |
---|---|
repoPath | path (passed from parent component) |
status | false |
cloneUrl | x |
cloneDestination | x |
repository | x |
Attribute Name | Computed Value |
---|---|
cloneDestinationImplicit | Using Address Parser to parse cloneUrl
|
┌-----------------------------------#path----------------------------------------┓
| |
| ┌--------------------------#loadingProgressBar-------------------------------┓ |
| | :status == 'loading' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌--------------------------#cloningProgressBar-------------------------------┓ |
| | :status == 'cloning' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌----------------------------------DIV---------------------------------------┓ |
| | :status == 'uninited' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌----------------------------------DIV---------------------------------------┓ |
| | :status == 'no-such-path' | |
| ┖----------------------------------------------------------------------------┚ |
| ┌------------------------------#repository-----------------------------------┓ |
| | :repository | |
| ┖----------------------------------------------------------------------------┚ |
┖--------------------------------------------------------------------------------┚