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

Add missing properties to Shell related controls #447

Merged
merged 1 commit into from
Jun 12, 2019

Conversation

TimLariviere
Copy link
Member

@TimLariviere TimLariviere commented Jun 10, 2019

This PR adds properties to the bindings file that were missing.
Also fixes some converters.

Note: Some changes to the bindings file feel hacky.
Really would like to rework that later.

src/Fabulous.Core/ViewConverters.fs Show resolved Hide resolved
src/Fabulous.Core/ViewConverters.fs Show resolved Hide resolved
"name": "QueryChanged",
"defaultValue": "ignore",
"modelType": "string * string -> unit",
"updateCode": "(fun _ curr (target: Xamarin.Forms.SearchHandler) -> match curr with ValueSome fn -> (target :?> Fabulous.DynamicViews.CustomSearchHandler).QueryChanged <- fn | ValueNone -> ())"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those updateCode don't support incremental updates.
Will try to rework that later

tools/Generator/Xamarin.Forms.Core.json Show resolved Hide resolved
tools/Generator/Xamarin.Forms.Core.json Show resolved Hide resolved
@SergejDK
Copy link
Collaborator

Looks good to me.
You already marked the parts which you wanna take a look again.
Don't have more on this.

@TimLariviere TimLariviere merged commit b6afe30 into fabulous-dev:master Jun 12, 2019
@TimLariviere TimLariviere deleted the shell-properties branch June 12, 2019 08:03
This was referenced Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants