-
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
pathcomponent, it will executeshownmethod and theupdateStatusmethod at the first time. Then, it will send a request to/quickstatusto 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 | |
| ┖----------------------------------------------------------------------------┚ |
┖--------------------------------------------------------------------------------┚