Skip to content

Conversation

@Sviatl
Copy link
Collaborator

@Sviatl Sviatl commented Aug 8, 2023

Create class ElementCreator for adding HTTP Elements

Description of changes 🗣️

add types (interfaces) for creating HTMLElement, HTMLInputElement, HTMLButtonElement in folder "types"
add classes ElementCreator, ElementInputCreator, ElementButtonCreator in folder "utils/element-creator"
add tests for created classes

Related Tasks 🔗

N/A

Special Instructions for the Reviewers☝🏻

run "npm tun test" in terminal

Additional Information 📚

N/A

@Sviatl Sviatl self-assigned this Aug 8, 2023
@@ -0,0 +1,5 @@
import { ElementParams } from './element-params-type';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would write these interfaces in one file, and name it something like utils-interfaces

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will fix

@Sviatl Sviatl merged commit c04ffc8 into develop Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done (Sprint 1)

Development

Successfully merging this pull request may close these issues.

6 participants