All Projects β†’ TinkoffCreditSystems β†’ Ng Polymorpheus

TinkoffCreditSystems / Ng Polymorpheus

Licence: apache-2.0
Polymorpheus is a tiny library for polymorphic templates in Angular.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ng Polymorpheus

Kotlin Gradle Plugin Template
🐘 A template to let you started with custom Gradle Plugins + Kotlin in a few seconds
Stars: ✭ 141 (-26.18%)
Mutual labels:  hacktoberfest, templates, template
Beginners C Program Examples
Simple, Short and Sweet beginners friendly C language programs
Stars: ✭ 138 (-27.75%)
Mutual labels:  hacktoberfest, template
React Next Boilerplate
πŸš€ A basis for reducing the configuration of your projects with nextJS, best development practices and popular libraries in the developer community.
Stars: ✭ 129 (-32.46%)
Mutual labels:  hacktoberfest, template
Smoke
πŸ’¨ Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-25.65%)
Mutual labels:  hacktoberfest, template
Seven
Eleventy template using Bootstrap, Sass, Webpack, Vue.js powered search, includes lots of other features
Stars: ✭ 114 (-40.31%)
Mutual labels:  templates, template
Open React Template
A free React landing page template designed to showcase open source projects, SaaS products, online services, and more. Made by
Stars: ✭ 1,956 (+924.08%)
Mutual labels:  templates, template
Android
Delta Icon Pack for Android
Stars: ✭ 137 (-28.27%)
Mutual labels:  hacktoberfest, customization
Cookietemple
A collection of best practice cookiecutter templates for all domains and languages with extensive Github support
Stars: ✭ 81 (-57.59%)
Mutual labels:  hacktoberfest, template
Developerfolio
πŸš€ Software Developer Portfolio Template that helps you showcase your work and skills as a software developer.
Stars: ✭ 2,814 (+1373.3%)
Mutual labels:  hacktoberfest, template
Cgx
πŸ’»πŸ”₯CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (-0.52%)
Mutual labels:  templates, template
Latex Koma Template
Generic template for midsize and larger documents based on KOMA script classes.
Stars: ✭ 151 (-20.94%)
Mutual labels:  templates, template
Rebar3
Erlang build tool that makes it easy to compile and test Erlang applications and releases.
Stars: ✭ 1,295 (+578.01%)
Mutual labels:  hacktoberfest, template
Gomplate
A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
Stars: ✭ 1,270 (+564.92%)
Mutual labels:  hacktoberfest, template
Dev Folio
πŸ”₯ A collection of Free Portfolio templates for developers.
Stars: ✭ 120 (-37.17%)
Mutual labels:  hacktoberfest, template
Eleventy
A simpler static site generator. An alternative to Jekyll. Transforms a directory of templates (of varying types) into HTML.
Stars: ✭ 10,867 (+5589.53%)
Mutual labels:  hacktoberfest, templates
Kotlin Openapi Spring Functional Template
πŸƒ Kotlin Spring 5 Webflux functional application with api request validation and interactive api doc
Stars: ✭ 159 (-16.75%)
Mutual labels:  hacktoberfest, template
Tufte Latex
A Tufte-inspired LaTeX class for producing handouts, papers, and books
Stars: ✭ 1,161 (+507.85%)
Mutual labels:  templates, template
Staradmin Free Bootstrap Admin Template
A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
Stars: ✭ 1,191 (+523.56%)
Mutual labels:  templates, template
Tedivms Flask
Flask starter app with celery, bootstrap, and docker environment
Stars: ✭ 142 (-25.65%)
Mutual labels:  hacktoberfest, template
Eleventy Garden
🌱 A starter site for building a mind garden with eleventy
Stars: ✭ 157 (-17.8%)
Mutual labels:  hacktoberfest, template

Polymorpheus

npm version Build Status Coverage Status angular-open-source-starter

Polymorpheus is a tiny library for polymorphic templates in Angular.

It is 1 KB gzip, dependency free and allows you to make pretty cool things.

Polymorpheus

What does it do?

It abstracts over different ways of view customization in Angular with one simple attribute component:

<header polymorpheus-outlet [content]="content" [context]="context"></header>

Content accepts:

  • primitives like number or string
  • functions that take context as argument and return a primitive
  • templates that get instantiated with given context
  • components that would get context injected through DI

Context is optional when you need your content to adapt to the situation

How to use it?

Typical use case would be a component that accepts visual customization and defines context by itself. Say a menu list where you can configure how each item should look like by passing a template. And context would be item itself and, for example, whether it is focused or not.

Please see extensive demo.

You can also read about this concept in detail.

Open-source

Do you also want to open-source something, but hate the collateral work? Check out this Angular Open-source Library Starter we’ve created for our projects. It got you covered on continuous integration, pre-commit checks, linting, versioning + changelog, code coverage and all that jazz.

Core team

Alex Inkin
Alex Inkin
Roman Sedov
Roman Sedov
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].