FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Feature: Expose onLayout event on View · Issue #5687 · NativeScript/NativeScript · GitHub

Feature: Expose onLayout event on View #5687

Description

Expose an event that will be fired when the View layout pass is completed.
Main use case is to be able to use getActualSize() and be sure the values are correct. It is a common thing when you want to trigger animations that are dependent on the size of the views.

A project with a custom implementation of such property can be found here: https://play.nativescript.org/?template=play-ng&id=Ximtcw&v=17&file=slides%2Fpager.component.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL