pub struct LoadingPlaceholder<'a> { /* private fields */ }Expand description
페이지가 로드되기 전 내부 컨텐츠가 로드될 위치의 자리 표시자
이 엘리먼트는 최초 로드 전 컨텐츠가 로드될 위치를 표시하기 위한 엘리먼트입니다.
LoadingPlaceholder.Load 이벤트가 전송되면 사라지고, 이 엘리먼트가 있는 위치에 실제 페이지가 렌더링됩니다.
로드 이벤트가 전송되어 페이지가 렌더링되기 위해서는 Custom 및 ClientInspector 엘리먼트의 클라이언트 데이터가 전송되어야 합니다.
Implementations§
Source§impl<'a> LoadingPlaceholder<'a>
impl<'a> LoadingPlaceholder<'a>
Sourcepub fn new(id: Cow<'static, str>, element_ref: ElementRef<'a>) -> Self
pub fn new(id: Cow<'static, str>, element_ref: ElementRef<'a>) -> Self
Creates a new element from an id and element reference.
Source§impl<'a> LoadingPlaceholder<'a>
impl<'a> LoadingPlaceholder<'a>
Sourcepub fn load(&self) -> Result<Event, WebDynproError>
pub fn load(&self) -> Result<Event, WebDynproError>
페이지를 로드하기 위한 이벤트를 반환합니다.
Trait Implementations§
Source§impl<'a> Element<'a> for LoadingPlaceholder<'a>
impl<'a> Element<'a> for LoadingPlaceholder<'a>
Source§const CONTROL_ID: &'static str = "LP"
const CONTROL_ID: &'static str = "LP"
WebDynpro 상에서 사용하는 엘리먼트의 Id
Source§const ELEMENT_NAME: &'static str = "LoadingPlaceHolder"
const ELEMENT_NAME: &'static str = "LoadingPlaceHolder"
WebDynpro 상에서 사용하는 엘리먼트의 이름
Source§type ElementLSData = LoadingPlaceholderLSData
type ElementLSData = LoadingPlaceholderLSData
엘리먼트의 LSData
Source§type Def = LoadingPlaceholderDef
type Def = LoadingPlaceholderDef
엘리먼트의 정의
Source§fn lsdata(&self) -> &Self::ElementLSData
fn lsdata(&self) -> &Self::ElementLSData
엘리먼트의 LSData를 가져옵니다.
Source§fn from_ref(
element_def: &impl ElementDefinition<'a>,
element: ElementRef<'a>,
) -> Result<Self, WebDynproError>
fn from_ref( element_def: &impl ElementDefinition<'a>, element: ElementRef<'a>, ) -> Result<Self, WebDynproError>
엘리먼트 정의와
ElementRef에서 엘리먼트를 가져옵니다.Source§fn element_ref(&self) -> &ElementRef<'a>
fn element_ref(&self) -> &ElementRef<'a>
엘리먼트의
ElementRef를 가져옵니다.Source§fn wrap(self) -> ElementWrapper<'a>
fn wrap(self) -> ElementWrapper<'a>
엘리먼트를
ElementWrapper로 감쌉니다.Source§fn children(&self) -> Vec<ElementWrapper<'a>>
fn children(&self) -> Vec<ElementWrapper<'a>>
엘리먼트의 자식 엘리먼트를 가져옵니다.
Source§impl<'a> Interactable<'a> for LoadingPlaceholder<'a>
impl<'a> Interactable<'a> for LoadingPlaceholder<'a>
Source§fn lsevents(&self) -> Option<&EventParameterMap>
fn lsevents(&self) -> Option<&EventParameterMap>
주어진 엘리먼트의 이벤트 데이터를 반환합니다.
Source§unsafe fn fire_event_unchecked(
event: String,
parameters: HashMap<String, String>,
ucf_params: UcfParameters,
custom_params: HashMap<String, String>,
) -> Event
unsafe fn fire_event_unchecked( event: String, parameters: HashMap<String, String>, ucf_params: UcfParameters, custom_params: HashMap<String, String>, ) -> Event
엘리먼트가 이벤트를 발생시킬 수 있는가와 관계 없이 이벤트를 발생시킵니다. Read more
Source§fn event_parameter(
&self,
event: &str,
) -> Result<&(UcfParameters, HashMap<String, String>), ElementError>
fn event_parameter( &self, event: &str, ) -> Result<&(UcfParameters, HashMap<String, String>), ElementError>
엘리먼트의 주어진 이벤트에 대한 파라메터들을 가져옵니다.
Source§fn fire_event(
&self,
event: String,
parameters: HashMap<String, String>,
) -> Result<Event, WebDynproError>
fn fire_event( &self, event: String, parameters: HashMap<String, String>, ) -> Result<Event, WebDynproError>
엘리먼트의 주어진 이벤트를 발생시킵니다.
Source§impl<'a> TryFrom<ElementWrapper<'a>> for LoadingPlaceholder<'a>
impl<'a> TryFrom<ElementWrapper<'a>> for LoadingPlaceholder<'a>
Auto Trait Implementations§
impl<'a> !Freeze for LoadingPlaceholder<'a>
impl<'a> !RefUnwindSafe for LoadingPlaceholder<'a>
impl<'a> !Send for LoadingPlaceholder<'a>
impl<'a> !Sync for LoadingPlaceholder<'a>
impl<'a> Unpin for LoadingPlaceholder<'a>
impl<'a> UnsafeUnpin for LoadingPlaceholder<'a>
impl<'a> !UnwindSafe for LoadingPlaceholder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more