You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @return The named component, where [componentName] can be either the component's simple class name or full class name.
651
+
*
652
+
* CHECKME: The implementation of this method is in elementManager, we're currently nly keeping this method around for API compatibility with older projects.
* FIXME: This should not be static // Hugi 2023-04-14
704
-
*
705
-
* @param name The name identifying what element we're getting
706
-
* @param associations Associations used to bind the generated element to it's parent
707
-
* @param contentTemplate The content wrapped by the element (if a container element)
708
660
*
709
-
* @return An instance of the named dynamic element. This can be a classless component (in which case it's the template name), a simple class name or a full class name
661
+
* CHECKME: The implementation of this method is in elementManager, we're currently nly keeping this method around for API compatibility with older projects.
// We should never end up here unless we got an incorrect/non-existent element name
739
-
thrownewNGElementNotFoundException( "I could not construct a dynamic element named '%s'".formatted( elementName ), elementName );
740
-
}
741
-
742
-
/**
743
-
* @return A new NGDynamicElement constructed using the given parameters
744
-
*
745
-
* CHECKME: Not sure this is the final home for this functionality. It's just a method shortcut to invoking the dynamic element's constructor via reflection.
* FIXME: This should not be static // Hugi 2023-04-14
73
+
*
74
+
* @param name The name identifying what element we're getting
75
+
* @param associations Associations used to bind the generated element to it's parent
76
+
* @param contentTemplate The content wrapped by the element (if a container element)
77
+
*
78
+
* @return An instance of the named dynamic element. This can be a classless component (in which case it's the template name), a simple class name or a full class name
0 commit comments