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
I think it would be useful to add the following enhancements to playgrounds:
Directive support
Pipe support
Ability to input custom values for template variables
Proposed solution
What is meant by inputting custom values:
This is a kind of list of controls that can be manually created for use with a pipe. For example, a configuration may look as follows:
NgDoc will create a control for the "isoDate" field based on the provided type. This will allow the user to input a value and see how it is processed by the pipe. Additionally, if the pipe has additional settings, NgDoc will display a list of them in the Settings section, similar to how it does for components.
For components and directives, this may not be as important since the values of their inputs change through controls in the Settings section, but this values can be used in the template (not for the inputs)
Alternatives considered
The text was updated successfully, but these errors were encountered:
I decided not to implement custom input controls, because the feature may be controversial and poorly used, but it can be added on a separate request if anyone needs it.
# [16.4.0](v16.3.6...v16.4.0) (2023-06-06)
### Features
* **builder:** builder and error/warning output have been improved, now the builder is more stable and it's easier to understand where you are haveing problems ([#61](#61)) ([7d11c79](7d11c79))
* **project:** add support for directives and pipes to playgrounds ([#62](#62)) ([28b0930](28b0930)), closes [#60](#60)
* **project:** now you can specify the anchors for the keywords that can create a link to the page's section or API member ([#63](#63)) ([a16d5d4](a16d5d4)), closes [#2](#2)
Description
I think it would be useful to add the following enhancements to playgrounds:
Proposed solution
What is meant by inputting custom values:
This is a kind of list of controls that can be manually created for use with a pipe. For example, a configuration may look as follows:
NgDoc will create a control for the "isoDate" field based on the provided type. This will allow the user to input a value and see how it is processed by the pipe. Additionally, if the pipe has additional settings, NgDoc will display a list of them in the Settings section, similar to how it does for components.
For components and directives, this may not be as important since the values of their inputs change through controls in the Settings section, but this values can be used in the template (not for the inputs)
Alternatives considered
The text was updated successfully, but these errors were encountered: