-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<amp-selector> element toggle the 'selected' attribute (#13553)
* WIP * Finalize implementation and tests * Implementation and tests * Make cvializ@ suggestions - change input argument name and clean up code * Cater for large negative numbers and add tests to check for that too * Rewrite code and tests to be cleaner * Move mod functionality to helper and add tests too * Remove unnecessary attribute logic * Add assert to ensure index is > 0 * Add additional assert * Linter error
- Loading branch information
Showing
3 changed files
with
120 additions
and
1 deletion.
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