-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename dcDeferredLoading to dcAsync and add an example to demo page
- Loading branch information
1 parent
01d5970
commit 33dbd90
Showing
6 changed files
with
34 additions
and
29 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export default class TestAsyncComponent extends DcBaseComponent { | ||
static getNamespace() { | ||
return 'test-async-component' | ||
} | ||
|
||
onInit() { | ||
this.element.innerHTML = 'Test async component was initialized'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import DcBaseComponent from './dc-base-component'; | ||
import dcFactory from './dc-factory'; | ||
import dcDom from './dc-dom'; | ||
import dcDeferredLoading from './dc-deferred-loading'; | ||
import dcAsync from './dc-async'; | ||
|
||
export { | ||
DcBaseComponent, | ||
dcFactory, | ||
dcDom, | ||
dcDeferredLoading | ||
dcAsync | ||
} |