-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Seaside-HotwireTurbo-Core | ||
turbo: aBoolean | ||
|
||
"data-turbo=""false"" disables Turbo Drive on links and forms including descendants. To reenable when an ancestor has opted out, use data-turbo=""true"". Be careful: when Turbo Drive is disabled, browsers treat link clicks as normal, but native adapters may exit the app." | ||
|
||
self dataAttributeAt: 'turbo' put: aBoolean | ||
Check warning on line 6 in repository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turbo..st Codecov / codecov/patchrepository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turbo..st#L1-L6
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Seaside-HotwireTurbo-Core | ||
turboAction: aString | ||
|
||
(#('replace' 'advance') includes: aString) ifFalse: [ | ||
self error: 'Argument for turboAction must be either ''replace'' or ''advance''.' ]. | ||
self dataAttributeAt: 'turbo-action' put: aString | ||
Check warning on line 6 in repository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turboAction..st Codecov / codecov/patchrepository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turboAction..st#L1-L6
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*Seaside-HotwireTurbo-Core | ||
turboTarget: aString | ||
|
||
"data-turbo-frame identifies the Turbo Frame to navigate. Refer to the Frames documentation for further details." | ||
|
||
self dataAttributeAt: 'turbo-frame' put: aString | ||
Check warning on line 6 in repository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turboTarget..st Codecov / codecov/patchrepository/Seaside-HotwireTurbo-Core.package/WABasicFormTag.extension/instance/turboTarget..st#L1-L6
|