-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turbo.visit(..., { frame: "frame" })
Add support for driving a `<turbo-frame>` element from a `Turbo.visit(...)` call. Internally, Turbo has some constraints for finding and driving a `<turbo-frame>` element, namely that it has an `[id]` attribute and that it is not marked with a `[disabled]` attribute. Supporting `Turbo.visit` calls that specify a `frame:` option provide an opportunity to encapsulate those details from callers while still providing element finding utility.
- Loading branch information
1 parent
1563ebb
commit 7e12fa5
Showing
4 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters