mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore: Add todo code comments.
This commit is contained in:
committed by
Christian Pillsbury
parent
d239f416bd
commit
bef0d42631
@@ -21,7 +21,7 @@ export class TimeRangeBase extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
/**
|
||||
* @TODO This is just a simple render function to demonstrate functionality.
|
||||
* @TODO This is just a simple placeholder input to demonstrate functionality.
|
||||
* A full implementation will need to implement a "compound component" architecture and likely should use templates. (CJP)
|
||||
**/
|
||||
this._input = document.createElement('input');
|
||||
@@ -115,6 +115,9 @@ export const useTimeRangeProps: PropsHook<{
|
||||
return baseProps;
|
||||
};
|
||||
|
||||
/**
|
||||
* @TODO When implementing compound components, this function may need to be swapped out, modified, or augmented in some way or another. (CJP)
|
||||
*/
|
||||
/**
|
||||
* Connected TimeRange component using hook-style architecture
|
||||
* Equivalent to React's TimeRange = toConnectedComponent(...)
|
||||
|
||||
@@ -19,7 +19,7 @@ export class VolumeRangeBase extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
/**
|
||||
* @TODO This is just a simple render function to demonstrate functionality.
|
||||
* @TODO This is just a simple placeholder input to demonstrate functionality.
|
||||
* A full implementation will need to implement a "compound component" architecture and likely should use templates. (CJP)
|
||||
**/
|
||||
this._input = document.createElement('input');
|
||||
@@ -108,6 +108,9 @@ export const useVolumeRangeProps: PropsHook<{
|
||||
return baseProps;
|
||||
};
|
||||
|
||||
/**
|
||||
* @TODO When implementing compound components, this function may need to be swapped out, modified, or augmented in some way or another. (CJP)
|
||||
*/
|
||||
/**
|
||||
* Connected VolumeRange component using hook-style architecture
|
||||
* Equivalent to React's VolumeRange = toConnectedComponent(...)
|
||||
|
||||
Reference in New Issue
Block a user