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

how do i load this conditionally? #5

Open
kordeviant opened this issue Sep 16, 2017 · 2 comments
Open

how do i load this conditionally? #5

kordeviant opened this issue Sep 16, 2017 · 2 comments

Comments

@kordeviant
Copy link

hi there and thanks for sharing your work, how can i provide it conditionally to my component? i mean for example if input is en dont provide these classes

@mehrabisajad
Copy link
Owner

you can use ng2datetimepicker-jalali component for fa and ngb-bootstrap for en.
or
You can create a component for each one.
or
Create a provider class that support each one and manage it with your service .

@sasanazizi
Copy link

@mehrabisajad can you show this idea with Plunker please ?

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

3 participants