Post

Two cool improvements are coming to <dialog> soon ™️. - button command/commandfor attributes to open dialogs without JS. - closedby attribute to enable light dismiss or disable close on esc (etc)

I'm going to go with soon™️ to play it safe. Closedby is a newer proposal so might take longer but it's also a hopefully less contentious addition. Command is just invokers yes it's gone through a few revisions since the original plan. Hoping it will be merged into html spec really soon!

0 reposts1 like