Skip to content
#

interface

Here are 181 public repositories matching this topic...

as-dr
as-dr commented Feb 13, 2018

Expected behavior

In the Choo docs on Routing, in the section "Listening for Route Changes" implementing:

var html = require('choo/html')
var choo = require('choo')
var app = choo()

var app = choo()
app.use((state, emitter) => {            // 1.
  emitter.on('navigate', (route) => {    // 2.
    console.log(`Navigated to ${route}`) // 3.
  })
})

Should return a conso

prompts
simonhaenisch
simonhaenisch commented Aug 20, 2019

Describe the bug

There is no documentation about how to mark a choice as pre-selected in a multiselect. It works to set selected: true in the choice, however @types/prompts doesn't know about it and neither does any of the documentation.

Expected behavior

The docs as well as the types should help to figure out how to do this.

System

  • OS: macOS
  • Terminal: iTerm
CelticRugger
CelticRugger commented Jul 14, 2018

*******************>>> should be on
$(document).one('receivelexconfig', function onReceiveLexConfig() {
var localTimeZone;
try {
localTimeZone = JSON.stringify(
Intl.DateTimeFormat().resolvedOptions().timeZone
);
} catch (err) {
localTimeZone = JSON.stringify(
new Date().getTimezoneOffse

Improve this page

Add a description, image, and links to the interface topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the interface topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.