ContaSystemer / elm-angularjs-custom-element / AngularCustomElement.Styled

The package contains helper function to view custom elements to reuse AngularJS directives/components in Elm.

View

view : { componentName : String, attributes : List (Html.Styled.Attribute msg) } -> Html.Styled.Html msg

Creates a custom element which will be used to create AngularJS component

viewWithTransclusion : { componentName : String, attributes : List (Html.Styled.Attribute msg), transclude : List (Html.Styled.Html Basics.Never) } -> Html.Styled.Html msg

Creates a custom element which will be used to create AngularJS component with transclusion