Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/hip-seals-read.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
21 changes: 4 additions & 17 deletions packages/testing-library/test-environment/src/lynx/ElementPAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,11 @@
/**
* Any Lynx Element, such as `view`, `text`, `image`, etc.
*
* [Lynx Spec Reference](https://lynxjs.org/living-spec/index.html?ts=1743416098203#element%E2%91%A0)
* {@link https://lynxjs.org/living-spec/index.html?ts=1743416098203#element%E2%91%A0 | Lynx Spec Reference}
*
* @public
*/
export interface LynxElement extends HTMLElement {
// /**
// * The props of the element.
// */
// props: {
// cssId?: string;
// event?: {
// [key: string]: any;
// };
// gesture?: {
// [key: string]: any;
// };
// [key: string]: any;
// };
/**
* The unique id of the element.
*
Expand Down Expand Up @@ -56,19 +43,19 @@ export interface LynxElement extends HTMLElement {
/**
* Returns the first child.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/firstChild)
* {@link https://developer.mozilla.org/docs/Web/API/Node/firstChild | MDN Reference}
*/
firstChild: LynxElement;
/**
* Returns the next sibling.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)
* {@link https://developer.mozilla.org/docs/Web/API/Node/nextSibling | MDN Reference}
*/
nextSibling: LynxElement;
/**
* Returns the parent.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)
* {@link https://developer.mozilla.org/docs/Web/API/Node/parentNode | MDN Reference}
*/
parentNode: LynxElement;
}
Expand Down
Loading