A custom Button component built using Vue and Tailwindcss for an ongoing opensource project.
Designed by @mithicher
A Pen by abhishek sarmah on CodePen.
class DIContainer: | |
bindings = {} | |
def set(self, abstract, factory): | |
self.bindings[abstract] = factory | |
def get(self, abstract): | |
return self.bindings[abstract](self) | |