Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前尚不清楚仅使用 pebble.js 方法时是否支持时间轴功能(例如,没有 C 代码)。任何人都可以发表评论吗?
是的,您可以使用 Pebble.js 调用常规的 PebbleKitJS 函数(例如,Pebble.getTimelineToken)。
Pebble.getTimelineToken
至于将 pin 推送到时间线,pin 是通过时间线 Web API 推送的,这意味着您可以使用该ajax函数从 Pebble.js 中向 API 发出请求。
ajax