Skip to content

Add Function Listen To Device Change#450

Open
xaxys wants to merge 1 commit intolxn:masterfrom
xaxys:master
Open

Add Function Listen To Device Change#450
xaxys wants to merge 1 commit intolxn:masterfrom
xaxys:master

Conversation

@xaxys
Copy link
Copy Markdown

@xaxys xaxys commented Jan 28, 2019

Now can simply use OnDeviceArrival and OnDeviceRemove to response to device changes
Example:

...
MainWindow{
	Layout:  VBox{},
	OnDeviceArrival: func() {...},
	OnDeviceRemove: func() {...},
}.Run()
...

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.

1 participant