public JavascriptComponent(IJavascriptEnvironment environment, string name, object props, string id, bool renderServerSide) { _environment = environment; ComponentName = name; ContainerId = string.IsNullOrEmpty(id) ? GenerateId() : id; ContainerTag = "div"; RenderServerSide = renderServerSide; Props = props; }
public JavascriptHtmlHelper(IJavascriptEnvironment environment, IJavascriptConfiguration configuration) { _environment = environment; _configuration = configuration; }