Package org.angular.ts.ng
Interface AnchorScrollService
@JsType(isNative=true,
name="ng.AnchorScrollService",
namespace="<global>")
public interface AnchorScrollService
Public AngularTS AnchorScrollService contract exposed through the global ng namespace for Closure-annotated applications.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcall(double hashOrElement) Invokes the callable AnchorScrollService contract.default voidcall(elemental2.dom.HTMLElement hashOrElement) Invokes the callable AnchorScrollService contract.default voidInvokes the callable AnchorScrollService contract.voidcall(AnchorScrollService.CallHashOrElementUnionType hashOrElement) Invokes the callable AnchorScrollService contract.Vertical scroll offset.voidsetYOffset(Object yOffset) Vertical scroll offset.
-
Method Details
-
call
Invokes the callable AnchorScrollService contract.- Parameters:
hashOrElement- Value supplied for the hashOrElement parameter.
-
call
@JsOverlay default void call(elemental2.dom.HTMLElement hashOrElement) Invokes the callable AnchorScrollService contract.- Parameters:
hashOrElement- Value supplied for the hashOrElement parameter.
-
call
Invokes the callable AnchorScrollService contract.- Parameters:
hashOrElement- Value supplied for the hashOrElement parameter.
-
call
@JsOverlay default void call(double hashOrElement) Invokes the callable AnchorScrollService contract.- Parameters:
hashOrElement- Value supplied for the hashOrElement parameter.
-
getYOffset
Vertical scroll offset. Can be a number, a function returning a number, or an Element whose offsetTop will be used. -
setYOffset
Vertical scroll offset. Can be a number, a function returning a number, or an Element whose offsetTop will be used.
-