GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Observable 'on' and 'off' should return 'this' · Issue #6828 · NativeScript/NativeScript

Observable 'on' and 'off' should return 'this' #6828

New issue
Copy link
New issue
Copy link
Open
#11617
Open
Observable 'on' and 'off' should return 'this'#6828
#11617
Copy link
Labels
featuregood first issue

Description

@farfromrefug
farfromrefug
opened on Jan 24, 2019
Issue body actions

Right now on, once and off methods return nothing

To go with Node events implementation and for easy dev and reading it would be good for those methods to return this.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. NickIliev
    added
    feature
    on Jan 24, 2019
  2. NathanWalker
    added
    good first issue
    on Oct 23, 2026
  3. anish-123-2006 commented on Oct 24, 2026

    @anish-123-2006
    anish-123-2006
    on Oct 24, 2026
    More actions

    Hi! I'd like to work on this issue. I've checked the current Observable implementation and confirmed that on(), once(), and off() currently return void. I plan to update them to return this and add tests to verify the chaining behavior. Please let me know if there are any concerns with this approach.

  4. xh123637
    added a commit that references this issue on Nov 5, 2026

    feat(observable): return this from on, once and off

    This issue will close once commit 309fbaa is merged into the 'main' branch.
    309fbaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuregood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.