Comments (6)
Good point, I will add it to the next release but rename the properties if you don't mind:
{{ NgDocActions.demo("ButtonDemoComponent", {container: false, expanded: true, defaultTab: "HTML"}) }}
from ng-doc.
🎉 This issue has been resolved in version 15.4.0 🎉
The release is available on:
v15.4.0
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
@R-Bower yes, I can do it, I just need to think about how it should work with snippets.
I also noticed that the MUI demo is editable and this is sick and I could easily do it, but for this a JIT Compiler is needed because obviously the component is compiled in the browser, but the JIT Compiler is marked as deprecated, while the Angular team still has not decided what its replacement will look like angular/angular#43120. I believe that using the JIT Compiler in a documentation application is not a big problem and I could start using it, I'm just afraid if they decide to remove JIT Compiler, new solution may not support such view generation as you have shown.
But maybe this can be achieved using web components or the stackblitz API, I'll try to investigate it 🤔
from ng-doc.
Just sourced the most recent version and this is awesome. Another idea I had:
MUI does something similar to this with a preview of sorts. https://mui.com/material-ui/react-button/#basic-button Wondering if this would be possible with ng-doc. The default preview is shown until the user expands the full example.
from ng-doc.
@skoropadas I get that. A live demo would be awesome. I wonder what the Angular team is planning, re: truly dynamic components like we see in live demos.
from ng-doc.
🎉 This issue has been resolved in version 15.0.0-beta.34 🎉
The release is available on:
v15.0.0-beta.34
- GitHub release
Your semantic-release bot 📦🚀
from ng-doc.
Related Issues (20)
- Support for native i18n / $localize + localized markdown HOT 3
- [Feature] Demo Pane viewport and theme support
- [Feature] Custom Tabs in Demo HOT 5
- [Feature] Display Component Properties in Component Tabs and on Page HOT 1
- [Bug] Configure Home icon route path of breadcrumb
- Add plugin for customizing the transformation of markdown to HTML
- [Query] Usage of Snippets
- [Bug] Support angular17html in code fences HOT 2
- [Feature] Support inline template syntax highlighting HOT 2
- [Query] Usage of Recreate option in the Playground HOT 2
- [Bug] API Link Reference missing for optional properties of a component HOT 2
- [Feature] Customising Playground HOT 2
- [Feature] Add possibility to provide custom properties for custom sidebar HOT 2
- [Query] What is ```twig fence code and what all the markdown fence code supported in Ng Docs? HOT 3
- [Feature] Add tabs for common macros and Angular components to display their usage variations along with previews
- Demo/Demo Pane Crash with "Unexpected end of JSON input" [Bug] HOT 4
- [Bug] Build / serve crash when using Angular 18.1 HOT 9
- [Bug] Anchor seems not working with french accents HOT 3
- [Bug] "Octal escape sequences are not allowed" validation error using generated demo-assets code HOT 1
- [Bug] 17.6.15 Build failed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-doc.