| CPC H04M 1/0239 (2013.01) [G06F 1/1624 (2013.01); G06F 1/1652 (2013.01); H04M 1/0268 (2013.01); H04M 1/72454 (2021.01); H04M 2201/38 (2013.01)] | 17 Claims |

|
1. An electronic device comprising:
a housing;
a flexible display including a display area extendable in one or more directions with respect to the housing by moving a portion of the flexible display through the housing to be visually exposed;
memory storing one or more computer programs; and
one or more processors communicatively coupled to the flexible display and the memory,
wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the electronic device to:
display first content on a first area of the flexible display,
detect an event for displaying second content related to the first content,
identify an attribute of the second content based on the detecting of the event,
identify a direction in which the flexible display is to be extended based on the attribute of the second content, and
display at least a portion of the second content in a second area of the flexible display extended in the identified direction, and
wherein, to identify the direction in which the flexible display is to be extended, the one or more computer programs further include computer-executable instructions that, when executed by the one or more processors individually or collectively, cause the electronic device to:
identify a position of a predetermined area where the second content is to be displayed on the first area with respect to a reference axis of the first area, and
identify the direction in which the flexible display is to be extended based on the position of the predetermined area with respect to the reference axis of the first area.
|