Skip to content

Guideline for feature IDs for interfaces and methods #2866

Open
@foolip

Description

@foolip

We currently have a mix of two styles for features named after interfaces or methods.

All as one word:

  • CloseWatcher → "closewatcher"
  • getHTML() → "gethtml"
  • requestIdleCallback() → "requestidlecallback"

Hyphenated:

  • EditContext → "edit-context"
  • getComputedStyle() → "get-computed-style"
  • requestVideoFrameCallback() → "request-video-frame-callback"

I think we should bless one style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions