Browse Source

support textarea

master
Odilitime 4 years ago
parent
commit
c226f843b4
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/graphics/components/ComponentBuilder.cpp

+ 2
- 0
src/graphics/components/ComponentBuilder.cpp View File

@@ -11,6 +11,7 @@
#include "../elements/STRONGElement.h"
#include "../elements/INPUTElement.h"
#include "../elements/BUTTONElement.h"
#include "../elements/TEXTAREAElement.h"

#include "InputComponent.h"
#include "ButtonComponent.h"
@@ -32,6 +33,7 @@ const std::unordered_map<std::string, std::shared_ptr<Element>> ComponentBuilder
{"br", std::make_shared<DIVElement>()},
{"strong", std::make_shared<STRONGElement>()},
{"input", std::make_shared<INPUTElement>()},
{"textarea", std::make_shared<TEXTAREAElement>()},
{"button", std::make_shared<BUTTONElement>()},
{"b", std::make_shared<STRONGElement>()},
{"i", std::make_shared<SPANElement>()}

Loading…
Cancel
Save