Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow subclass to override createFormattedTextNative #9334

Merged
merged 2 commits into from
Apr 18, 2021

Conversation

farfromrefug
Copy link
Collaborator

This PR adds move the generation of the native FormattedString to a class method so that it can be overriden by subclasses and plugins.
This is used, for example, by my @nativescript-community/text to override the default implementation for all TextBase to make it faster and add more functionnalities.

@cla-bot cla-bot bot added the cla: yes label Apr 15, 2021
@NathanWalker NathanWalker merged commit b29e145 into NativeScript:master Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants