Cristian Raducanu

Results 5 comments of Cristian Raducanu

Hello! By looking at the function signature, looks like it was changed, but the documentation is not up to date. So now it is something like: `changeFile: function (media, title)`....

Hello! I also need this for a component that wraps `swagger-ui`, which comes with it's own css. Same use case as some of the above

No, it's just that angular 10 has ivy enabled by default, which supports tree-shaking, so you need to include each component on it's own. I have a PR for that...

And, continuing the answer above, so that you have the whole code that works, here it is: import SwaggerUI from 'swagger-ui'; import SwaggerUIStandalonePreset from 'swagger-ui-dist/swagger-ui-standalone-preset'; SwaggerUI({ presets: [SwaggerUI.presets.apis, SwaggerUIStandalonePreset], layout:...