Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class-based UI customization #14

Open
KiaraGrouwstra opened this issue Jun 25, 2016 · 0 comments
Open

class-based UI customization #14

KiaraGrouwstra opened this issue Jun 25, 2016 · 0 comments

Comments

@KiaraGrouwstra
Copy link
Owner

allowing response object 'class' based custom template overwrites:

  • how to detect an "object"'s "class" using an api spec that has had all their $refs resolved?
    • in case the resolved spec still retains the original centralized $ref definitions (modify so it does this?), then I could just do an object equality check for definitions with the spec at the current path.
  • probably involves doing such a check in ng-output/value
  • have each custom template know what definition path they want specs equality checked with
  • load with DynamicComponentLoader so existing components are ok without needing the custom component hard-coded in their directives
  • alternatively also just allow overriding templates of generic components
    • perhaps even split the generic components into their own library to encourage others to add versions of alternative CSS libraries
      • allow passing options so as to specify preferred CSS lib from the scraper as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant