Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleChromeLabs/howto-components
/ functions
Functions
171 in github.com/GoogleChromeLabs/howto-components
⨍
Functions
171
◇
Types & classes
26
Method
attributeChangedCallback
* `attributeChangedCallback` processes changes to the `expanded` attribute.
elements/howto-accordion/howto-accordion.js:547
Method
attributeChangedCallback
* `attributeChangedCallback()` is called when any of the attributes in the * `observedAttributes` array are changed. It's a good place to handle
elements/howto-toggle-button/howto-toggle-button.js:155
Method
attributeChangedCallback
* Properties and their corresponding attributes should mirror one another. * To this effect, the property setter for `selected` handles truthy/fa
elements/howto-tabs/howto-tabs.js:396
Method
attributeChangedCallback
(name, oldVal, newVal)
elements/howto-label/howto-label.js:87
Method
attributeChangedCallback
* `attributeChangedCallback()` is called when any of the attributes in the * `observedAttributes` array are changed. It's a good place to handle
elements/howto-checkbox/howto-checkbox.js:167
Function
browserFilter
* `browserFilter` is used as an argument to `Array.prototype.filter` to filter * which browsers are used to run the e2e tests.
run-e2e-tests.js:27
Function
buildIndex
(elements)
build-documentation.js:197
Method
checked
* Properties and their corresponding attributes should mirror one another. * The property setter for `checked` handles truthy/falsy values and
elements/howto-checkbox/howto-checkbox.js:138
Method
checkedRadioButton
* A getter for whichever `HowtoRadioButton` is currently checked.
elements/howto-radio-group/howto-radio-group.js:243
Method
connectedCallback
* `connectedCallback` hooks up the even listeners and considers the * `expanded` attribute on the headers to adjust their styling accordingly.
elements/howto-accordion/howto-accordion.js:72
Method
connectedCallback
* `connectedCallback()` sets up the role, event handler and initial state.
elements/howto-accordion/howto-accordion.js:520
Method
connectedCallback
* `connectedCallback()` sets up the role and the ID of the element.
elements/howto-accordion/howto-accordion.js:643
Method
connectedCallback
* `connectedCallback()` fires when the element is inserted into the DOM. * It's a good place to set the initial `role`, `tabindex`, internal state,
elements/howto-tooltip/howto-tooltip.js:35
Method
connectedCallback
* `connectedCallback()` fires when the element is inserted into the DOM. * It's a good place to set the initial `role`, `tabindex`, internal stat
elements/howto-toggle-button/howto-toggle-button.js:71
Method
connectedCallback
* `connectedCallback()` groups tabs and panels by reordering and makes sure * exactly one tab is active.
elements/howto-tabs/howto-tabs.js:90
Method
connectedCallback
()
elements/howto-tabs/howto-tabs.js:352
Method
connectedCallback
()
elements/howto-tabs/howto-tabs.js:425
Method
connectedCallback
* connectedCallback() will run once the element is attached to the document. * It's the earliest point at which you may touch attributes, and is
elements/howto-label/howto-label.js:66
Method
connectedCallback
* `connectedCallback()` fires when the element is inserted into the DOM. * It's a good place to set the initial `role`, `tabindex`, internal stat
elements/howto-checkbox/howto-checkbox.js:87
Method
connectedCallback
* The `HowtoRadioButton` sets its initial ARIA attributes when it's * attached to the DOM. The surrounding RadioGroup handles dynamic changes
elements/howto-radio-group/howto-radio-group.js:94
Method
connectedCallback
* The `HowtoRadioGroup` sets its ARIA role to `radiogroup` and sets the * `tabindex` on its first `HowtoRadioButton` child to 0 if no other child
elements/howto-radio-group/howto-radio-group.js:167
Method
constructor
(str)
sectionizer.js:22
Method
constructor
()
elements/howto-accordion/howto-accordion.js:62
Method
constructor
()
elements/howto-accordion/howto-accordion.js:494
Method
constructor
()
elements/howto-accordion/howto-accordion.js:632
Method
constructor
* The constructor does work that needs to be executed _exactly_ once.
elements/howto-tooltip/howto-tooltip.js:21
Method
constructor
* The element's constructor is run anytime a new instance is created. * Instances are created either by parsing HTML, calling * document.cre
elements/howto-toggle-button/howto-toggle-button.js:60
Method
constructor
()
elements/howto-tabs/howto-tabs.js:60
Method
constructor
()
elements/howto-tabs/howto-tabs.js:348
Method
constructor
()
elements/howto-tabs/howto-tabs.js:421
Method
constructor
()
elements/howto-label/howto-label.js:47
Method
constructor
* The element's constructor is run anytime a new instance is created. * Instances are created either by parsing HTML, calling * document.cre
elements/howto-checkbox/howto-checkbox.js:76
Method
constructor
()
elements/howto-radio-group/howto-radio-group.js:79
Method
constructor
()
elements/howto-radio-group/howto-radio-group.js:148
Method
current
()
sectionizer.js:38
Method
disabled
(value)
elements/howto-toggle-button/howto-toggle-button.js:138
Method
disabled
(value)
elements/howto-checkbox/howto-checkbox.js:150
Method
disconnectedCallback
* `disconnectedCallback` removes all the event listeners that * `connectedCallback` added.
elements/howto-accordion/howto-accordion.js:143
Method
disconnectedCallback
* `disconnectedCallback` cleans up the event handlers set up in * `connectedCallback`.
elements/howto-accordion/howto-accordion.js:540
Method
disconnectedCallback
* `disconnectedCallback()` unregisters the event listeners that were set up * in `connectedCallback()`.
elements/howto-tooltip/howto-tooltip.js:62
Method
disconnectedCallback
* `disconnectedCallback()` fires when the element is removed from the DOM. * It's a good place to do clean up work like releasing references and
elements/howto-toggle-button/howto-toggle-button.js:114
Method
disconnectedCallback
* `disconnectedCallback()` removes the event listeners that * `connectedCallback` added.
elements/howto-tabs/howto-tabs.js:121
Method
disconnectedCallback
* `disconnectedCallback()` fires when the element is removed from the DOM. * It's a good place to do clean up work like releasing references and
elements/howto-checkbox/howto-checkbox.js:126
Method
disconnectedCallback
* If the `RadioGroup` is removed from the DOM, clean up any event * listeners.
elements/howto-radio-group/howto-radio-group.js:194
Method
expanded
()
elements/howto-accordion/howto-accordion.js:554
Method
expanded
()
elements/howto-accordion/howto-accordion.js:657
Function
findCheckbox
elements/howto-checkbox/howto-checkbox.e2etest.js:25
Function
findToggleButton
elements/howto-toggle-button/howto-toggle-button.e2etest.js:25
Method
firstRadioButton
* A getter for the first `HowtoRadioButton` child.
elements/howto-radio-group/howto-radio-group.js:250
Method
for
()
elements/howto-label/howto-label.js:78
Function
isChecked
elements/howto-checkbox/howto-checkbox.e2etest.js:36
Function
isPressed
elements/howto-toggle-button/howto-toggle-button.e2etest.js:36
Function
isUnchecked
elements/howto-checkbox/howto-checkbox.e2etest.js:29
Function
isUnpressed
elements/howto-toggle-button/howto-toggle-button.e2etest.js:29
Method
lastRadioButton
* A getter for the last `HowtoRadioButton` child.
elements/howto-radio-group/howto-radio-group.js:257
Method
observedAttributes
()
elements/howto-accordion/howto-accordion.js:490
Method
observedAttributes
()
elements/howto-toggle-button/howto-toggle-button.js:48
Method
observedAttributes
()
elements/howto-tabs/howto-tabs.js:344
Method
observedAttributes
()
elements/howto-label/howto-label.js:43
Method
observedAttributes
()
elements/howto-checkbox/howto-checkbox.js:64
Function
parse
(str)
sectionizer.js:189
Method
pressed
* Properties and their corresponding attributes should mirror one another. * The property setter for `pressed` handles truthy/falsy values and
elements/howto-toggle-button/howto-toggle-button.js:126
Method
selected
(value)
elements/howto-tabs/howto-tabs.js:402
Method
sneakPeek
()
sectionizer.js:34
Function
t
()
site-resources/scripts/resizeobserver.min.js:1
Function
unsandboxChrome
(browser)
run-e2e-tests.js:76
Method
whitespace
()
sectionizer.js:18
Function
writeElement
(element)
build-documentation.js:181
Function
x
(a)
site-resources/scripts/resizeobserver.min.js:1
Function
y
(a,b)
site-resources/scripts/resizeobserver.min.js:1
Function
z
(a,b,c)
site-resources/scripts/resizeobserver.min.js:1
← previous
101–171 of 171, ranked by callers