1

I'm developing a angularJS application. I want to add time picker module which can be called in HTML tag? How can I do that?

It should be like this

<input type="text" data-ng-model="timeInput" time-pick="HH:MM:SS" time-default="'08:00:00'">

Thank you for your time.

3 Answers 3

2

There is a great library with a lot of widgets. Its name is UI Bootrstap. About your question there is there a timepicker click here. It is of course an open source library you can adapt the widget to your needs.

Sign up to request clarification or add additional context in comments.

Comments

1

example:

<!DOCTYPE html>
<html>
<body>

<p>
Depending on browser support:<br>
A date picker can pop-up when you enter the input field.
</p>

<form action="action_page.php">
  Birthday:
  <input type="time" name="bday">
  <input type="submit">
</form>

<p><b>Note:</b> type="date" is not supported in Internet Explorer.</p>

</body>
</html> 

Comments

0

Wrap a datepicker graphic component such as jquery ui datepicker into a directive. Here is a related answer with an example.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.