MCPcopy
hub / github.com/ampproject/amphtml / setPosition_

Method setPosition_

third_party/subscriptions-project/swg.js:11310–11312  ·  view source on GitHub ↗

* Sets the position of the dialog. Currently only supports 'BOTTOM', with * an option of switching to 'CENTER' on desktop screens.

()

Source from the content-addressed store, hash-verified

11308 * an option of switching to 'CENTER' on desktop screens.
11309 */
11310 setPosition_() {
11311 setImportantStyles$1(this.getElement(), this.getPositionStyle_());
11312 }
11313
11314 /**
11315 * Returns whether or not the dialog should have position 'CENTER'.

Callers 1

buildIframe_Method · 0.95

Calls 3

getElementMethod · 0.95
getPositionStyle_Method · 0.95
setImportantStyles$1Function · 0.85

Tested by

no test coverage detected