Links
📅

Native Date Picker

🧋 Bubble.io Plugin

[Element] Natively - Date Picker

Events:

  • Date selected
  • Date Picker closed

States:

  • Selected Date

Actions:

  • Show Date Picker
    • Title
    • Description [iOS]
    • Type - DATE, DATE_AND_TIME, or TIME
    • Style [iOS] - DARK or LIGHT

🛠 JavaScript SDK

NativelyDatePicker

1
const picker = new NativelyDatePicker()
2
const datepicker_callback = function (resp) {
3
const milliseconds = Number(resp.date);
4
console.log(new Date(milliseconds));
5
};
6
const title = "Select Date";
7
const description = "";
8
const type = "DATE_AND_TIME" // "DATE"/"TIME"/"DATE_AND_TIME"
9
const style = "LIGHT" // "LIGHT"/"DARK"
10
picker.showDatePicker(title, description, type, style, datepicker_callback);
​